blob: f812674ebbdb7411e48034c7f2e16d2ebe25d4c2 [file] [log] [blame]
stages:
- test
- build
default:
image: node:22
cache:
key:
files:
- package-lock.json
paths:
- node_modules/
test:
stage: test
script:
- npm ci
- npm test
build:
stage: build
script:
- npm ci
- mkdir -p bin/linux bin/macos bin/win
- npm run pkg-linux
- npm run pkg-macos
- npm run pkg-win
artifacts:
name: "conllu-gender-${CI_COMMIT_REF_SLUG}"
paths:
- bin/linux/conllu-gender
- bin/macos/conllu-gender
- bin/win/conllu-gender.exe
expire_in: 4 weeks