Skip to content

Commit a1e91dc

Browse files
jonkoopsrolandjitsu
authored andcommitted
chore: replace legacy Yarn with NPM
Signed-off-by: Jon Koops <[email protected]>
1 parent 92d2f2e commit a1e91dc

File tree

6 files changed

+6873
-3268
lines changed

6 files changed

+6873
-3268
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
- uses: actions/setup-node@v1
1515
with:
1616
node-version: "20.x"
17-
- run: yarn install --pure-lockfile
18-
- run: yarn build
17+
- run: npm ci
18+
- run: npm run build
1919
- run: npx semantic-release
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
strategy:
14+
fail-fast: false
1415
matrix:
1516
node_version: [14, 16, 18, 20, 22]
1617

@@ -20,10 +21,15 @@ jobs:
2021
uses: actions/setup-node@v1
2122
with:
2223
node-version: ${{ matrix.node_version }}
24+
25+
- name: Install compatible NPM version
26+
if: matrix.node_version == 14
27+
run: npm install -g npm@^9
28+
2329
- name: Install
24-
run: yarn install --pure-lockfile --ignore-engines
30+
run: npm ci
2531
- name: Test
26-
run: yarn test:cov
32+
run: npm run test:cov
2733
- uses: coverallsapp/[email protected]
2834
with:
2935
github-token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ You can install this package from [NPM](https://www.npmjs.com):
2626
npm add file-selector
2727
```
2828

29-
Or with [Yarn](https://yarnpkg.com/en):
30-
```bash
31-
yarn add file-selector
32-
```
33-
3429
### CDN
3530
For CDN, you can use [unpkg](https://unpkg.com):
3631

0 commit comments

Comments
 (0)