2021-08-28 13:20:40 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
arch:
|
|
|
|
- arm64
|
|
|
|
- ppc64le
|
|
|
|
- s390x
|
2021-11-21 07:52:40 +00:00
|
|
|
dist: bionic
|
2013-11-08 17:14:25 +00:00
|
|
|
language: node_js
|
2021-11-21 07:52:40 +00:00
|
|
|
before_install: |
|
|
|
|
NODEJS_VERSION=$(node --version)
|
|
|
|
if [ 'v10' = ${NODEJS_VERSION%%.*} ]
|
|
|
|
then
|
|
|
|
npm install --global npm@7
|
|
|
|
else
|
|
|
|
npm install --global npm@8
|
|
|
|
fi
|
2021-08-28 13:20:40 +00:00
|
|
|
script:
|
|
|
|
- npm run --ignore-scripts build
|
|
|
|
- npm test --ignore-scripts
|
2013-11-08 17:14:25 +00:00
|
|
|
node_js:
|
2024-04-14 14:04:44 +00:00
|
|
|
- 10.24.1
|
2024-04-14 16:00:44 +00:00
|
|
|
- 12.22.12
|
2024-04-14 19:06:14 +00:00
|
|
|
- 14.21.3
|
2024-04-14 21:06:02 +00:00
|
|
|
- 16.20.2
|
2024-04-15 02:41:02 +00:00
|
|
|
- 17.9.1
|