Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
(ci/gitlab): Add .gitlab-ci.yml from iGEM 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
jcxldn committed Jun 23, 2023
1 parent 8c52739 commit d0c17f7
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 @@
image: node:latest

# This folder is cached between builds
# https://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache:
paths:
- node_modules/
# Enables git-lab CI caching. Both .cache and public must be cached, otherwise builds will fail.
- .cache/
- public/

pages:
stage: build
script:
- npm install
- npm run clean
- npm run build
artifacts:
paths:
- public
only:
- main

0 comments on commit d0c17f7

Please sign in to comment.