Skip to content

Commit

Permalink
configure npm publish for tagged releases (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
copperlight authored Mar 3, 2022
1 parent c4d0d85 commit b30cf6f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ jobs:
build:
if: ${{ github.repository == 'Netflix/spectator-js' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10, 12, 14]
steps:
- uses: actions/checkout@v2
- name: Set up Node ${{ matrix.node-version }}
- name: Set up Node 10
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: '10'
registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies
run: npm install
- name: Make
run: make
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b30cf6f

Please sign in to comment.