From dd42e26c2a5b41b2c27889c549a5b6e14509d2d3 Mon Sep 17 00:00:00 2001 From: James Mead Date: Mon, 20 Jan 2025 11:32:26 +0000 Subject: [PATCH] TEMP: Add new workflow for debugging --- .github/workflows/foo.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/foo.yml diff --git a/.github/workflows/foo.yml b/.github/workflows/foo.yml new file mode 100644 index 00000000000..c4a36bb3088 --- /dev/null +++ b/.github/workflows/foo.yml @@ -0,0 +1,26 @@ +on: + push: + branches: [experience-cs] + workflow_dispatch: +permissions: + contents: write + packages: write +jobs: + foo: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace # v4 + with: + registry-url: 'https://npm.pkg.github.com' + - run: | + mkdir -p build + mkdir -p dist + - name: Publish to GitHub Packages + if: github.ref == 'refs/heads/experience-cs' + run: | + RELEASE_VERSION="0.1.0-raspberrypifoundation.$(date +'%Y%m%d%H%M%S')" + npm version --no-git-tag-version $RELEASE_VERSION + npm publish --access public --tag latest + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}