ci: try using npx
This commit is contained in:
parent
fff4493fa7
commit
caaefa3aa2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ test:
|
|||
stage: test
|
||||
script:
|
||||
# Make sure the commits follow our rules.
|
||||
- yarn install --frozen-lockfile
|
||||
- npx yarn install --frozen-lockfile
|
||||
- if [ $CI_BUILD_BEFORE_SHA == "0000000000000000000000000000000000000000" ]; then npx commitlint --to=HEAD; else npx commitlint --from=$CI_BUILD_BEFORE_SHA; fi
|
||||
|
||||
# Build and test the project.
|
||||
|
|
Reference in a new issue