v5.1.0 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish package to npmjs.com | |
on: | |
release: | |
types: [published] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: {} | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
registry-url: 'https://registry.npmjs.org' | |
cache: 'pnpm' | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run build | |
- name: publish to npm | |
run: pnpm publish --no-git-checks --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.INCOGNIA_NODE_NPM_TOKEN }} |