Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 9c40f71

Browse files
authored
Merge pull request #71 from getsentry/kmclb-switch-to-yarn
This switches to using `yarn` rather than `npm` for managing dependencies, since that's the standard practice at Sentry (see our repos for the main sentry app[1], our JS SDK[2], the webpack plugin[3], etc.). [1] https://github.com/getsentry/sentry [2] https://github.com/getsentry/sentry-javascript [3] https://github.com/getsentry/sentry-webpack-plugin
2 parents c009b96 + 4cee0b5 commit 9c40f71

File tree

4 files changed

+9119
-10186
lines changed

4 files changed

+9119
-10186
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-node@v1
17+
with:
18+
node-version: 16
1719
- uses: actions/cache@v2
1820
id: cache-deps
1921
with:
2022
path: |
2123
**/node_modules
22-
key: ${{ hashFiles('**/package-lock.json') }}
24+
key: ${{ hashFiles('**/yarn.lock') }}
2325
- name: Install
2426
if: steps.cache-deps.outputs.cache-hit != 'true'
25-
run: npm ci
27+
run: yarn install
2628
- name: Pack
2729
run: npm pack
2830
- name: Upload Artifacts

0 commit comments

Comments
 (0)