Skip to content

Commit

Permalink
ci: use nvmrc version for ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rflechtner committed Apr 5, 2023
1 parent c709d39 commit 90e992c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/devpackpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: yarn build
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- run: yarn build
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-node-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
cache: 'yarn'
- name: yarn install
run: yarn install --immutable
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- name: Log out node version
run: node --version
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- uses: actions/download-artifact@v3
with:
name: build
Expand All @@ -122,7 +122,7 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version-file: '.nvmrc'
- uses: actions/download-artifact@v3
with:
name: build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
cache: 'yarn'
- name: yarn install
run: yarn install --immutable
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- uses: actions/download-artifact@v3
with:
name: build
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- name: Log out node version
run: node --version
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- uses: actions/download-artifact@v3
with:
name: build
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version-file: '.nvmrc'
- uses: actions/download-artifact@v3
with:
name: build
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/*
lts/Hydrogen

0 comments on commit 90e992c

Please sign in to comment.