Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Run tests
run: yarn test
continue-on-error: true

publish-npm:
needs: build
Expand All @@ -26,7 +30,8 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm publish
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn publish --non-interactive --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ npm-debug.log
npm-debug.log.*
yarn-error.log
yarn-debug.log
package-lock.json

## build
dist
Expand Down
Loading