Skip to content

Commit

Permalink
use node version from file
Browse files Browse the repository at this point in the history
  • Loading branch information
baruchiro committed Sep 30, 2024
1 parent cad2717 commit 6ba98a8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Run npm install
run: npm install
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/nodeCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.19.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
- uses: browser-actions/setup-chrome@v1
- name: npm install and test
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18.19.x
node-version-file: .nvmrc
registry-url: https://registry.npmjs.org/
- name: prepare default version
run: npm run prepare:default
Expand Down
1 change: 0 additions & 1 deletion .node-version

This file was deleted.

0 comments on commit 6ba98a8

Please sign in to comment.