Skip to content

Commit 7c54160

Browse files
committed
chore: enable-corepack-in-github-actions
1 parent 80475a2 commit 7c54160

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.github/workflows/eslint.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
name: ESLint
22
on:
33
pull_request:
4-
branches: [ main ]
4+
branches: [main]
55
jobs:
66
eslint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- name: Install modules
11-
run: yarn
12-
- name: Run ESLint
13-
run: yarn check-style
9+
- uses: actions/checkout@v2
10+
- name: Enable corepack
11+
run: corepack enable
12+
- name: Install modules
13+
run: yarn
14+
- name: Run ESLint
15+
run: yarn check-style

.github/workflows/tsc.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
name: TypeCheck
22
on:
33
pull_request:
4-
branches: [ main ]
4+
branches: [main]
55
jobs:
66
TypeScriptCompiler:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- name: Install modules
11-
run: yarn
12-
- name: Run TypeScriptCompiler
13-
run: yarn check-types
9+
- uses: actions/checkout@v2
10+
- name: Enable corepack
11+
run: corepack enable
12+
- name: Install modules
13+
run: yarn
14+
- name: Run TypeScriptCompiler
15+
run: yarn check-types

0 commit comments

Comments
 (0)