stages:
- .pre
- build
- test
build website:
image: node:16-alpine
stage: build
script:
- yarn install
- yarn build
artifacts:
paths:
- build
test website:
image: alpine
stage: test
script:
- yarn global add serve
- serve -s build
I am trying to make an integration test on the gitlab ci but when I commit and try to run this yaml file , it outputs /bin/sh: eval: line 126: yarn: not found
Is there something I am missing?