mirror of
https://github.com/hi-language/transpiler.git
synced 2026-01-14 08:38:37 +00:00
Fix: Add npm install step to CI workflow
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -21,6 +21,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
id: run-tests
|
id: run-tests
|
||||||
run: npm test
|
run: npm test
|
||||||
@@ -35,3 +38,4 @@ jobs:
|
|||||||
- name: Check test step outcome
|
- name: Check test step outcome
|
||||||
if: steps.run-tests.outcome == 'failure'
|
if: steps.run-tests.outcome == 'failure'
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user