Skip to content

Commit

Permalink
Switch from yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Aug 30, 2022
1 parent 7ff6290 commit cc6a7e1
Show file tree
Hide file tree
Showing 7 changed files with 9,014 additions and 5,370 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
extends:
- remcohaszing
- remcohaszing/jest
rules:
import/extensions: off
import/no-unresolved: off
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- run: yarn --frozen-lockfile
- run: yarn eslint .
- run: npm ci
- run: npx eslint .

jest:
runs-on: ubuntu-latest
Expand All @@ -25,8 +25,9 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn --frozen-lockfile
- run: yarn test --coverage
- run: npm --global install npm@8
- run: npm ci
- run: npm test -- --coverage
- uses: codecov/codecov-action@v2
if: ${{ matrix.node-version == 16 }}

Expand All @@ -37,8 +38,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 16
- run: yarn --frozen-lockfile
- run: yarn prettier .
- run: npm ci
- run: npx prettier .

tsc:
runs-on: ubuntu-latest
Expand All @@ -47,5 +48,5 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- run: yarn --frozen-lockfile
- run: yarn tsc
- run: npm xi
- run: npx tsc
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lockfile-version = 3
Loading

0 comments on commit cc6a7e1

Please sign in to comment.