Skip to content

Commit 44fbcce

Browse files
committed
chore: use pnpm in CI
1 parent 908f708 commit 44fbcce

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: apm -v
2626
- name: Install APM dependencies
2727
run: |
28-
apm ci # uses locked module. use `apm install` for non-locked
28+
apm install
2929
- name: Atom Package dependencies
3030
run: node ./script/install-package-deps.js
3131
- name: Run tests 👩🏾‍💻
@@ -42,10 +42,12 @@ jobs:
4242
fetch-depth: 0
4343
- name: Commit lint ✨
4444
uses: wagoid/commitlint-github-action@v1
45-
- uses: UziTech/action-setup-atom@v1
45+
- uses: actions/setup-node@v1
46+
with:
47+
node-version: "12.x"
4648
- name: Install NPM dependencies
4749
run: |
48-
npm ci # uses locked module. use `npm install` for non-locked
50+
npm install
4951
- name: Lint ✨
5052
run: npm run lint
5153

.github/workflows/bump_deps.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ jobs:
1212
- uses: actions/setup-node@v2-beta
1313
with:
1414
node-version: "14"
15+
- name: Setup PNPM
16+
uses: pnpm/[email protected]
17+
with:
18+
version: 4.11.1
1519
- run: |
16-
npm ci
17-
npm run bump
18-
npm install
20+
pnpm install
21+
pnpm run bump
22+
pnpm install
1923
- uses: peter-evans/create-pull-request@v2
2024
with:
2125
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)