Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Couper4 committed Apr 26, 2023
1 parent 77e090f commit 651eb6a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,15 @@ jobs:
with:
node-version: 'lts/*'
- run: cd nodejs && yarn --frozen-lockfile && yarn test

publish:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' # Runs only on commits on main branch
steps:
- uses: actions/checkout@v3
- name: Publish to NPM registry
run: |
cd nodejs
npm set //registry.npmjs.org/:_authToken=${{ secrets.NUGET_API_KEY }}
npm version 0.1.5
npm publish

0 comments on commit 651eb6a

Please sign in to comment.