Skip to content

Commit

Permalink
Merge pull request #243 from AlloyTeam/ci/update
Browse files Browse the repository at this point in the history
ci: update ci actions
  • Loading branch information
xcatliu committed Mar 20, 2023
2 parents 7323647 + 2402b24 commit de6bfb3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v2
- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: '14'
cache: pnpm

- name: Install
run: |
npm i pnpm -g &&
pnpm i && pnpm update
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run tests
run: pnpm test
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/rulesCoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v2
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: '14'
cache: pnpm

- name: Install
run: |
npm i pnpm -g &&
pnpm i && pnpm update
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run tests
run: |
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,6 @@
"vue-eslint-parser": {
"optional": true
}
}
},
"packageManager": "pnpm@7.30.0"
}

0 comments on commit de6bfb3

Please sign in to comment.