diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2022-12-08 03:18:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-08 03:18:15 +0900 |
| commit | 214de033016c4abda846093e649247ae94995f3f (patch) | |
| tree | a24d82cc4d93f30de5600ffadb39441545ed5810 /.github/workflows | |
| parent | fix: Update Dockerfile (#9292) (diff) | |
| download | sharkey-214de033016c4abda846093e649247ae94995f3f.tar.gz sharkey-214de033016c4abda846093e649247ae94995f3f.tar.bz2 sharkey-214de033016c4abda846093e649247ae94995f3f.zip | |
GitHub Actions Test PR: Cache on Lint (#9289)
* update lint.yml
* wip
* fix
* fix
* continue-on-error: true
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/lint.yml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 50d86e696b..b5c801c642 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,14 +8,30 @@ on: pull_request:
jobs:
+ yarn_install:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ submodules: true
+ - uses: actions/setup-node@v3.2.0
+ with:
+ node-version: 18.x
+ cache: 'yarn'
+ - run: corepack enable
+ - run: yarn install --immutable
+
lint:
+ needs: [yarn_install]
+ runs-on: ubuntu-latest
+ continue-on-error: true
strategy:
matrix:
workspace:
- backend
- client
- sw
- runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
|