This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
657a410
commit 758df98
Showing
1 changed file
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,23 @@ on: pull_request | |
|
||
jobs: | ||
init: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
node-version: [18.18.2] | ||
steps: | ||
- name: Cancel previous workflow | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
lint: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
node-version: [18.18.2] | ||
needs: init | ||
steps: | ||
- name: Check out repository | ||
|
@@ -38,10 +46,10 @@ jobs: | |
run: yarn lint | ||
|
||
compile: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
os: [ubuntu-22.04] | ||
node-version: [18.18.2] | ||
needs: init | ||
steps: | ||
|
@@ -92,7 +100,11 @@ jobs: | |
run: yarn typecheck | ||
|
||
test: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
node-version: [18.18.2] | ||
needs: init | ||
steps: | ||
- name: Check out repository | ||
|
@@ -127,7 +139,11 @@ jobs: | |
run: yarn test:ci | ||
|
||
docker: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
node-version: [18.18.2] | ||
needs: init | ||
if: contains(github.head_ref, 'release') | ||
steps: | ||
|