diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a387734..1d7aea1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,6 +8,18 @@ concurrency: cancel-in-progress: true permissions: write-all jobs: + publish-npm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + cache: npm + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} publish-docs: environment: name: github-pages