Augment pipeline with workflow to run the test suite
This commit is contained in:
21
.github/workflows/pipeline.yaml
vendored
21
.github/workflows/pipeline.yaml
vendored
@@ -19,9 +19,7 @@ jobs:
|
|||||||
- name: Lint code
|
- name: Lint code
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
# TODO: Run tests
|
testing:
|
||||||
|
|
||||||
assembly:
|
|
||||||
needs: verification
|
needs: verification
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -33,7 +31,22 @@ jobs:
|
|||||||
node-version: 22.x
|
node-version: 22.x
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm clean-install
|
run: npm clean-install
|
||||||
- name: Lint code
|
- name: Run test suite
|
||||||
|
run: npm run test
|
||||||
|
|
||||||
|
assembly:
|
||||||
|
needs: testing
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22.x
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm clean-install
|
||||||
|
- name: Build artifact(s)
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|||||||
Reference in New Issue
Block a user