Skip to content

Commit c3f0697

Browse files
committed
build: update node version for publish and test github action
1 parent 72ae0f3 commit c3f0697

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup .npmrc file to publish to npm
2424
uses: actions/setup-node@v3
2525
with:
26-
node-version: 'lts/*'
26+
node-version: '18.x'
2727
registry-url: 'https://registry.npmjs.org'
2828
- name: Install modules
2929
run: npm install
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup .npmrc file to publish to GitHub Packages
3737
uses: actions/setup-node@v3
3838
with:
39-
node-version: 'lts/*'
39+
node-version: '18.x'
4040
registry-url: 'https://npm.pkg.github.com'
4141
scope: '@fasenderos'
4242
- run: npm run addscope

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
os:
3333
- ubuntu-latest
3434
- windows-latest
35-
node: [18.x, 20.x]
35+
node: [16.x, 18.x]
3636

3737
steps:
3838
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)