summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2022-12-08 03:18:15 +0900
committerGitHub <noreply@github.com>2022-12-08 03:18:15 +0900
commit214de033016c4abda846093e649247ae94995f3f (patch)
treea24d82cc4d93f30de5600ffadb39441545ed5810 /.github/workflows
parentfix: Update Dockerfile (#9292) (diff)
downloadsharkey-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.yml18
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: