summaryrefslogtreecommitdiff
path: root/.gitlab/ci/verify-lockfile.gitlab-ci.yml
blob: 6336a428b4bcbb064b52fb32b4f709faf61d843f (plain)
1
2
3
4
5
6
7
8
9
10
11
verify_lockfile:
  stage: test
  image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2-git-2.29-lfs-2.9-node-14.15-yarn-1.22-graphicsmagick-1.3.34
  needs: []
  rules:
    - changes:
        - yarn.lock
  script:
    - npm config set @dappelt:registry https://gitlab.com/api/v4/projects/22564149/packages/npm/
    - npx lockfile-lint@4.3.7 --path yarn.lock --allowed-hosts yarn --validate-https
    - npx @dappelt/untamper-my-lockfile --lockfile yarn.lock