Add gitlab pages CI

This commit is contained in:
Evie Viau-Chow-Stuart 2023-06-28 04:06:05 -04:00
parent 80af0b9d5c
commit bfc50d976a
Signed by: evie
GPG key ID: 928652CDFCEC8099

22
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,22 @@
# The Docker image that will be used to build your app
image: node:lts
pages:
cache:
paths:
- node_modules/
script:
# Specify the steps involved to build your app here
- npm install
- npm run build
artifacts:
paths:
# The folder that contains the built files to be published.
# This must be called "public".
- public
only:
# Trigger a new build and deploy only when there is a push to the
# branch(es) below
- main