diff --git a/.github/workflows/publish-canyon-uploader.yml b/.github/workflows/publish-canyon-uploader.yml new file mode 100644 index 00000000..6fe113de --- /dev/null +++ b/.github/workflows/publish-canyon-uploader.yml @@ -0,0 +1,22 @@ +name: Publish canyon-uploader + +on: + push: + branches: [ "*" ] + +jobs: + publish-npm: + runs-on: ubuntu-latest + steps: + - uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - run: pnpm install + - run: pnpm --filter=canyon-uploader publish -f --no-git-checks --access=public --filter + env: + NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}