Skip to content

Commit

Permalink
📦 Favor using npm over yarn (#299)
Browse files Browse the repository at this point in the history
npm is much faster than yarn v1 (classic) and is not developed further
(see
https://dev.to/arcanis/introducing-yarn-2-4eh1#what-will-happen-to-the-legacy-codebase)
  • Loading branch information
WtfJoke authored Oct 15, 2023
2 parents 7829e9d + c9a54f2 commit fe97bda
Show file tree
Hide file tree
Showing 7 changed files with 14,804 additions and 11,430 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: |
yarn install
- run: |
yarn all
cache: 'npm'
- name: Install dependencies
run: |
npm install
- name: Build + package + tests
run: |
npm run all
test: # make sure the action works on a clean machine without building
strategy:
matrix:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/update-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: |
yarn install
- run: |
yarn run update-dist
cache: 'npm'
- name: Install dependencies
run: |
npm install
- name: Package (update dist folder)
run: |
npm run update-dist
- name: Did dist folder changed?
run: |
EXIT_CODE=0
Expand Down
Loading

0 comments on commit fe97bda

Please sign in to comment.