Skip to content

Commit 24a6e47

Browse files
committed
ci: use node and pnpm in the CI
1 parent b636132 commit 24a6e47

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/CI.yml

+16-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
pull_request:
4+
push:
5+
branches:
6+
- master
57

68
defaults:
79
run:
@@ -21,15 +23,20 @@ jobs:
2123
# - windows-latest
2224
atom_channel: [stable, beta]
2325
steps:
24-
- uses: actions/checkout@v3
25-
- uses: UziTech/action-setup-atom@v1
26+
- name: Install Node
27+
uses: actions/setup-node@v3
2628
with:
27-
channel: ${{ matrix.atom_channel }}
28-
- name: Versions
29-
run: apm -v
30-
- name: Install APM dependencies
29+
node-version: 12
30+
architecture: x64
31+
32+
- name: Setup pnpm
33+
uses: pnpm/action-setup@v2
34+
with:
35+
version: 6
36+
37+
- name: Install and build
3138
run: |
32-
apm install
39+
pnpm install
3340
3441
Lint:
3542
if: "!contains(github.event.head_commit.message, '[skip ci]')"

0 commit comments

Comments
 (0)