Skip to content

Commit f6f3999

Browse files
chore: migrate from yarn to npm
1 parent 4dbf1c1 commit f6f3999

File tree

5 files changed

+11698
-5734
lines changed

5 files changed

+11698
-5734
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,26 @@ on:
66
- master
77
pull_request:
88

9+
env:
10+
NODE_OPTIONS: --openssl-legacy-provider
11+
912
jobs:
1013
ci:
1114
needs: [test, downstream]
1215
runs-on: ubuntu-latest
1316
steps:
1417
- run: true
1518
test:
16-
name: yarn test
19+
name: npm test
1720
runs-on: ubuntu-latest
1821
steps:
1922
- uses: actions/checkout@v2
2023
- name: Install Dependencies
21-
run: yarn install --pure-lockfile
24+
run: npm ci
2225
- name: Check Peer Dependencies
2326
run: npx check-peer-dependencies
2427
- name: Run Tests
25-
run: yarn test
28+
run: npm test
2629

2730
downstream:
2831
name: Test downstream ${{ matrix.group }} projects
@@ -34,10 +37,9 @@ jobs:
3437
- uses: actions/checkout@v2
3538
- name: Prepare to Test Downstream Projects
3639
run: |
37-
npm config set scripts-prepend-node-path auto
3840
git config --global user.email uirouter@github.actions
3941
git config --global user.name uirouter_github_actions
4042
- name: Install Dependencies
41-
run: yarn install --pure-lockfile
43+
run: npm ci
4244
- name: Test Downstream Projects
43-
run: yarn test:downstream --group ${{ matrix.group }}
45+
run: npm run test:downstream -- --group ${{ matrix.group }}

examples/create-react-app/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Example showing sticky states installed in a create-react-app app.
55
## Running
66

77
```
8-
yarn install
9-
yarn start
8+
npm install
9+
npm start
1010
```

0 commit comments

Comments
 (0)