Skip to content

Commit

Permalink
use nvmrc in all Node GH Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
  • Loading branch information
Anton Gilgur committed Feb 12, 2024
1 parent a3ff6dc commit 09ed165
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14.15
node-version-file: .nvmrc
- run: yarn install
- run: yarn build-v2
2 changes: 1 addition & 1 deletion .github/workflows/build-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14.15
node-version-file: .nvmrc
- run: yarn install
- run: yarn build
- run: yarn lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14.15
node-version-file: .nvmrc
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
ref: ${{ github.event.inputs.tag }}
- uses: actions/setup-node@v4
with:
node-version: 14.15
node-version-file: .nvmrc
- run: cd v2 && npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 09ed165

Please sign in to comment.