|
|
@ -7,14 +7,13 @@ variables: |
|
|
|
NODE_VERSION: "20" |
|
|
|
NODE_VERSION: "20" |
|
|
|
|
|
|
|
|
|
|
|
.node_template: &node_template |
|
|
|
.node_template: &node_template |
|
|
|
image: node:${NODE_VERSION}-alpine |
|
|
|
image: oven/bun:1-alpine |
|
|
|
cache: |
|
|
|
cache: |
|
|
|
key: ${CI_COMMIT_REF_SLUG} |
|
|
|
key: ${CI_COMMIT_REF_SLUG} |
|
|
|
paths: |
|
|
|
paths: |
|
|
|
- node_modules/ |
|
|
|
- node_modules/ |
|
|
|
- ~/.cache/ |
|
|
|
- ~/.bun/install/cache/ |
|
|
|
before_script: |
|
|
|
before_script: |
|
|
|
- npm install -g bun |
|
|
|
|
|
|
|
- bun install |
|
|
|
- bun install |
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
test: |
|
|
|