Skip to content

Commit

Permalink
Use Yarn instead of npm in the CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
texpert committed Nov 9, 2023
1 parent 529890f commit 18ba4e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache: 'yarn'
- name: install app dependencies
run: npm ci
run: yarn install --frozen-lockfile
- name: ESLint
run: npm run eslint
run: yarn eslint --ext .js

stylelint:
if: |
Expand All @@ -31,8 +31,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache: 'yarn'
- name: install app dependencies
run: npm ci
run: yarn install --frozen-lockfile
- name: Stylelint
run: npm run stylelint -- -f github
run: yarn stylelint "**/*.{css,js,scss}" -f github

0 comments on commit 18ba4e2

Please sign in to comment.