Skip to content

Commit

Permalink
SECURITY-5750: remove unmaintained github action substep
Browse files Browse the repository at this point in the history
  • Loading branch information
dsztanko committed Apr 26, 2022
1 parent 533457e commit 0b0aedd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [
node: [
'12.22.5',
'14.17.5',
'16.7.0'
Expand All @@ -20,7 +20,8 @@ jobs:
name: Node JS ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: textbook/git-checkout-submodule-action@master
with:
submodules: recursive
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
Expand All @@ -29,9 +30,9 @@ jobs:
run: npm install
- name: Test
run: npm test

- name: Publish
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISHER_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISHER_TOKEN }}

0 comments on commit 0b0aedd

Please sign in to comment.