Skip to content

Commit

Permalink
Use yarn instead of npm
Browse files Browse the repository at this point in the history
  • Loading branch information
webNeat committed Jun 19, 2021
1 parent 95eeb71 commit 4c47191
Show file tree
Hide file tree
Showing 7 changed files with 6,232 additions and 20,732 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
with:
path: ./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i
- run: npm run build
- run: npm run test-coverage
- run: yarn install
- run: yarn build
- run: yarn test-coverage
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
with:
path: ./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i
- run: npm run build
- run: yarn install
- run: yarn build
- name: Publish to npm
uses: pascalgn/npm-publish-action@1.3.3
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
with:
path: ./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i
- run: npm run build
- run: npm run test-coverage
- run: yarn install
- run: yarn build
- run: yarn test-coverage
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 4c47191

Please sign in to comment.