Skip to content

Commit

Permalink
try to fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Jul 9, 2024
1 parent 91a3d11 commit 11d7986
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/*]
node-version: ["lts/*"]

runs-on: ${{ matrix.os }}

Expand All @@ -32,15 +32,16 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache-dependency-path: "yarn.lock"

- name: Install dependencies
run: yarn --frozen-lockfile
Expand All @@ -54,7 +55,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
node-version: ["10", "12", "14", "16", "18", "20"]
webpack-version: [latest]

runs-on: ${{ matrix.os }}
Expand All @@ -68,13 +69,14 @@ jobs:
if: matrix.os == 'windows-latest'
run: git config --global core.autocrlf input

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: "${{ matrix.node-version }}"
cache: "yarn"
cache-dependency-path: "yarn.lock"

- name: Install dependencies
run: yarn --frozen-lockfile
Expand Down

0 comments on commit 11d7986

Please sign in to comment.