Skip to content

Commit

Permalink
ci: add gitlab ci build
Browse files Browse the repository at this point in the history
crgwbr committed Sep 26, 2024

Verified

This commit was signed with the committer’s verified signature.
crgwbr Craig Weber
1 parent 0e65f8b commit 4f353da
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
stages:
- test

cache:
key: "$CI_PROJECT_NAME"
paths:
- node_modules

include:
- component: gitlab.com/thelabnyc/thelab-ci-components/[email protected]

test:
stage: test
image: "${IMAGE}"
script:
- npm ci
- npm run lint
- npm run build
parallel:
matrix:
- IMAGE: node:18
- IMAGE: node:20

0 comments on commit 4f353da

Please sign in to comment.