image: node:16.14.0
stages:

  • install
  • build
  • deploy

job install:
stage: install
script:
- node -v
- npm -v
- npm config set registry https://registry.npm.taobao.org
- npm i --legacy-peer-deps
cache:
untracked: true
paths:
- node_modules/

job build:
stage: build
script:
- export CI=false
- npm run build
cache:
untracked: true
paths:
- node_modules/
artifacts:
name: ‘bundle’
paths:
- build/

job deploy:
stage: deploy
script: echo ‘deploy’

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐