Skip to content

Commit 240b238

Browse files
revert ci file
1 parent 3691575 commit 240b238

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,18 @@ on: [push, pull_request]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
98
steps:
10-
- uses: actions/checkout@v3
11-
12-
- uses: actions/setup-node@v3
9+
- uses: actions/setup-node@v1
1310
with:
1411
node-version: '18.x'
15-
16-
- name: Enable Corepack and set Yarn version
12+
- name: Setup Yarn (v2 or later using Corepack)
1713
run: |
1814
corepack enable
1915
corepack prepare yarn@4.4.1 --activate
16+
- uses: actions/checkout@v2
17+
- name: Install npm dependencies
18+
run: |
19+
yarn
2020
21-
- name: Mark workspace as safe for Git
22-
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
2321
24-
- name: Install dependencies (with clean cache)
25-
run: |
26-
yarn cache clean
27-
yarn install --immutable
2822
29-
- name: Debug Yarn pack.log if install fails
30-
if: failure()
31-
run: |
32-
find /tmp -name "pack.log" -exec echo "Found pack.log at:" {} \; -exec cat {} \;

0 commit comments

Comments
 (0)