Skip to content

Commit de2dedb

Browse files
committed
ci: run the tests in the ci
1 parent ad29cb8 commit de2dedb

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ jobs:
2121
- uses: UziTech/action-setup-atom@v1
2222
with:
2323
channel: ${{ matrix.atom_channel }}
24+
2425
- name: Install APM dependencies
25-
run: |
26-
apm install
26+
run: apm install
27+
28+
- name: Tests
29+
run: npm run test
2730

2831
Lint:
2932
if: "!contains(github.event.head_commit.message, '[skip ci]')"
@@ -47,16 +50,15 @@ jobs:
4750
run: npm run test.lint
4851

4952
Release:
50-
needs: [Test]
53+
needs: [Test, Lint]
5154
if: github.ref == 'refs/heads/master' &&
5255
github.event.repository.fork == false
5356
runs-on: ubuntu-latest
5457
steps:
5558
- uses: actions/checkout@v2
5659
- uses: UziTech/action-setup-atom@v1
57-
- uses: actions/setup-node@v1
58-
with:
59-
node-version: "14.x"
60+
- uses: actions/setup-node@v2
61+
6062
- name: NPM install
6163
run: npm install
6264

0 commit comments

Comments
 (0)