From 45d00cee60d0b273591b5ee6ebe7c9b610fae26e Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Sat, 10 Apr 2021 02:25:26 +0200 Subject: [PATCH] Add lock file version check to CI (#7333) * Add lock file version check to CI * Update CHANGELOG.md * Update ci.yml * test failing check with lock file version 2 * Revert "test failing check with lock file version 2" This reverts commit a5b4293f312942fea983e78c3c1ac4ee0690f9a5. --- .github/workflows/ci.yml | 10 ++++++++++ CHANGELOG.md | 1 + 2 files changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4c4c06f..58042244 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,16 @@ jobs: - uses: actions/checkout@v2 - name: Build docker image uses: docker/build-push-action@v2 + check-lock-file-version: + name: NPM Lock File Version + timeout-minutes: 5 + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Check NPM lock file version + uses: mansona/npm-lockfile-version@v1 + with: + version: 1 check-mongo: strategy: matrix: diff --git a/CHANGELOG.md b/CHANGELOG.md index da0b9556..4027ef45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -129,6 +129,7 @@ ___ - Use Node.js 15.13.0 in CI (Olle Jonsson) [#7312](https://github.com/parse-community/parse-server/pull/7312) - Fix file upload issue for S3 compatible storage (Linode, DigitalOcean) by avoiding empty tags property when creating a file (Ali Oguzhan Yildiz) [#7300](https://github.com/parse-community/parse-server/pull/7300) - Add building Docker image as CI check (Manuel Trezza) [#7332](https://github.com/parse-community/parse-server/pull/7332) +- Add NPM package-lock version check to CI (Manuel Trezza) [#7333](https://github.com/parse-community/parse-server/pull/7333) ___ ## 4.5.0 [Full Changelog](https://github.com/parse-community/parse-server/compare/4.4.0...4.5.0)