Skip to content

Commit cda9a72

Browse files
committed
chore: use setup node in lint ci
1 parent d741e97 commit cda9a72

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/CI.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
jobs:
77
Test:
88
if: "!contains(github.event.head_commit.message, '[skip ci]')"
9-
name: ${{ matrix.os }} - Atom ${{ matrix.atom_channel }}
109
runs-on: ${{ matrix.os }}
1110
strategy:
1211
fail-fast: false
@@ -18,20 +17,18 @@ jobs:
1817
atom_channel: [stable, beta]
1918
steps:
2019
- uses: actions/checkout@v2
21-
- uses: UziTech/action-setup-atom@v1
22-
with:
23-
channel: ${{ matrix.atom_channel }}
24-
- name: Versions
25-
run: apm -v
26-
- name: Install APM dependencies
27-
run: |
28-
apm install
2920

21+
- uses: actions/setup-node@v2
22+
with:
23+
node-version: "14"
3024
- name: Setup PNPM
31-
uses: pnpm/action-setup@v1.2.1
25+
uses: pnpm/action-setup@master
3226
with:
3327
version: latest
3428

29+
- name: Install dependencies
30+
run: pnpm install
31+
3532
- name: Tests
3633
run: |
3734
pnpm test
@@ -48,9 +45,11 @@ jobs:
4845
- name: Commit lint ✨
4946
uses: wagoid/commitlint-github-action@v2
5047

51-
- uses: UziTech/action-setup-atom@v1
48+
- uses: actions/setup-node@v2
49+
with:
50+
node-version: "14"
5251
- name: Setup PNPM
53-
uses: pnpm/action-setup@v1.2.1
52+
uses: pnpm/action-setup@master
5453
with:
5554
version: latest
5655

0 commit comments

Comments
 (0)