Skip to content

Commit

Permalink
run tests on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lexoyo committed Apr 11, 2024
1 parent 2fcb849 commit 8df3234
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
Expand All @@ -19,6 +18,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build
- run: npm run lint
- run: npm test
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8df3234

Please sign in to comment.