Skip to content

Commit

Permalink
fix setup-node on github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Nov 9, 2023
1 parent c80d1f5 commit b03e61d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/CI.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 10.x
cache: yarn
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn lint:js

Expand All @@ -30,8 +34,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn test

Expand All @@ -45,8 +51,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --frozen-lockfile --non-interactive
- run: PREFER_NATIVE=true yarn test

Expand All @@ -60,8 +68,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --frozen-lockfile --non-interactive
- run: NATIVE_PROMISE=true yarn test

Expand All @@ -75,8 +85,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn run test:node

Expand Down Expand Up @@ -105,6 +117,7 @@ jobs:
allow-failure: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 12.x
- name: install dependencies
Expand Down

0 comments on commit b03e61d

Please sign in to comment.