diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9eccb59..291d856 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 @@ -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 }}