Skip to content

Commit

Permalink
Update GitHub Actions to use v4
Browse files Browse the repository at this point in the history
  • Loading branch information
LindvedKrvang committed Jul 2, 2024
1 parent b224164 commit f83ca32
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
run-yarn-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -27,13 +27,13 @@ jobs:
- name: yarn build
run: yarn build

- name: yarn unit test
- name: yarn unit test
run: yarn unit

- name: yarn install production
run: yarn install --check-files --frozen-lockfile --production --force

- uses: actions/upload-artifact@main
- uses: actions/upload-artifact@v4
with:
name: dist artifacts
path: dist
Expand All @@ -44,9 +44,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
name: dist artifacts
path: dist
Expand Down

0 comments on commit f83ca32

Please sign in to comment.