Skip to content

Commit 641f009

Browse files
committed
Revert "chore(ci): Use yarn for node tests instead of npm (#2612)"
This reverts commit 355a862.
1 parent c6d075d commit 641f009

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/test_node.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
node-version-file: package.json
2121

2222
# We need to skip the fallback download because downloading will fail on release branches because the new version isn't available yet.
23-
- run: SENTRYCLI_SKIP_DOWNLOAD=1 yarn install --frozen-lockfile
23+
- run: SENTRYCLI_SKIP_DOWNLOAD=1 npm install
2424

25-
- run: yarn check:types
25+
- run: npm run check:types
2626

2727
test_node:
2828
strategy:
@@ -42,13 +42,10 @@ jobs:
4242
node-version: ${{ matrix.node-version }}
4343

4444
# We need to skip the fallback download because downloading will fail on release branches because the new version isn't available yet.
45-
- run: SENTRYCLI_SKIP_DOWNLOAD=1 yarn install --frozen-lockfile
46-
if: matrix.node-version != '10.x' && matrix.node-version != '12.x'
45+
- run: SENTRYCLI_SKIP_DOWNLOAD=1 npm install
4746

4847
# older node versions need an older nft
49-
- run: |
50-
SENTRYCLI_SKIP_DOWNLOAD=1 yarn install --ignore-engines --frozen-lockfile
51-
SENTRYCLI_SKIP_DOWNLOAD=1 yarn add @vercel/nft@0.22.1 --ignore-engines
48+
- run: SENTRYCLI_SKIP_DOWNLOAD=1 npm install @vercel/nft@0.22.1
5249
if: matrix.node-version == '10.x' || matrix.node-version == '12.x'
5350

54-
- run: yarn test
51+
- run: npm test

0 commit comments

Comments
 (0)