Skip to content

Commit

Permalink
CI: Update actions/* to v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacingBat3 committed May 3, 2024
1 parent ba5415f commit 4aefeda
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
name: "Test build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
Expand All @@ -40,15 +40,15 @@ jobs:
run: npm update

- name: TSC cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: tsc-${{ matrix.deps }}
path: |
app
cache/tsc.json
- name: ESLint cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: eslint-${{ matrix.deps }}
path: |
Expand Down Expand Up @@ -80,8 +80,8 @@ jobs:
runs-on: ${{ matrix.runner }}
needs: ['test']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
Expand All @@ -100,7 +100,7 @@ jobs:
run: npm update

- name: TSC cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: tsc-${{ matrix.build }}
path: |
Expand All @@ -116,14 +116,14 @@ jobs:
command: npm run make -- -a ${{ matrix.arch }}

- name: Upload distributables as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}_${{ matrix.build }}
path: out/devel/make/*

- name: Upload lockfile as artifact
if: ${{ matrix.build == 'latest' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}-lockfile_updated
path: package-lock.json
6 changes: 3 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
name: ${{ matrix.name }} (${{ matrix.arch }})
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
Expand All @@ -46,7 +46,7 @@ jobs:
run: npm ci

- name: TSC cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: tsc-release
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
name: ${{ matrix.name }} (${{ matrix.arch }})
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
Expand All @@ -46,7 +46,7 @@ jobs:
run: npm ci

- name: TSC cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: tsc-prerelease
path: |
Expand Down

0 comments on commit 4aefeda

Please sign in to comment.