Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: 🎡 upgrade github actions to v4 #661

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:
- master
jobs:
yarn-install:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- id: cache
name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
Expand All @@ -22,14 +22,14 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: [yarn-install]
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

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

- name: Archive build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: [yarn-install]
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Restore node modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
Expand Down