Skip to content

Commit

Permalink
ci: upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nbouliol committed Dec 19, 2024
1 parent 6b6e1ba commit 3e6afc5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: 'yarn'
- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-primes
with:
path: "**/node_modules"
Expand All @@ -40,13 +40,13 @@ jobs:
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: 'yarn'
- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -65,13 +65,13 @@ jobs:
- node: 18
withCoverage: ${{ true }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -101,15 +101,15 @@ jobs:
needs: [build, test]
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
persist-credentials: false # GITHUB_TOKEN must not be set for the semantic release
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: 'yarn'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
Expand Down

0 comments on commit 3e6afc5

Please sign in to comment.