Skip to content

Commit

Permalink
chore: replace legacy Yarn with NPM
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Koops <[email protected]>
  • Loading branch information
jonkoops authored and rolandjitsu committed Oct 8, 2024
1 parent 92d2f2e commit a1e91dc
Show file tree
Hide file tree
Showing 6 changed files with 6,873 additions and 3,268 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: "20.x"
- run: yarn install --pure-lockfile
- run: yarn build
- run: npm ci
- run: npm run build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node_version: [14, 16, 18, 20, 22]

Expand All @@ -20,10 +21,15 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}

- name: Install compatible NPM version
if: matrix.node_version == 14
run: npm install -g npm@^9

- name: Install
run: yarn install --pure-lockfile --ignore-engines
run: npm ci
- name: Test
run: yarn test:cov
run: npm run test:cov
- uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ You can install this package from [NPM](https://www.npmjs.com):
npm add file-selector
```

Or with [Yarn](https://yarnpkg.com/en):
```bash
yarn add file-selector
```

### CDN
For CDN, you can use [unpkg](https://unpkg.com):

Expand Down
Loading

0 comments on commit a1e91dc

Please sign in to comment.