diff --git a/.changes/config.json b/.changes/config.json index 097d6e38a..ccd78fa78 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -81,7 +81,7 @@ "getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }", "prepublish": [ { - "command": "pnpm i", + "command": "pnpm i --frozen-lockfile", "dryRunCommand": true }, { diff --git a/.github/workflows/check-generated-files.yml b/.github/workflows/check-generated-files.yml index b7ca8eaff..004deb87b 100644 --- a/.github/workflows/check-generated-files.yml +++ b/.github/workflows/check-generated-files.yml @@ -48,7 +48,7 @@ jobs: - name: build api working-directory: tooling/api - run: pnpm i && pnpm build + run: pnpm i --frozen-lockfile && pnpm build - name: check api run: ./.scripts/ci/has-diff.sh diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 1bc54ef2f..b06422762 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -48,7 +48,7 @@ jobs: timeout-minutes: 30 run: | cd ./tooling/cli/node - pnpm i + pnpm i --frozen-lockfile pnpm build pnpm test diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fc2b6853a..41fe3345c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -113,9 +113,9 @@ jobs: - name: Test run: | cd tooling/api - pnpm i && pnpm build + pnpm i --frozen-lockfile && pnpm build cd ../../examples/api - pnpm i + pnpm i --frozen-lockfile . .setup-cross.sh chmod +x cargo-tauri chmod +x $HOME/.cargo/bin/cross diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index 9eb27ac6a..daa55855e 100644 --- a/.github/workflows/lint-js.yml +++ b/.github/workflows/lint-js.yml @@ -25,7 +25,7 @@ jobs: with: node-version: '18' cache: 'pnpm' - - run: pnpm i + - run: pnpm i --frozen-lockfile - run: pnpm format:check eslint: @@ -37,7 +37,7 @@ jobs: with: node-version: '18' cache: 'pnpm' - - run: pnpm i + - run: pnpm i --frozen-lockfile - run: pnpm eslint:check typescript: @@ -49,5 +49,5 @@ jobs: with: node-version: '18' cache: 'pnpm' - - run: pnpm i + - run: pnpm i --frozen-lockfile - run: pnpm ts:check diff --git a/.github/workflows/publish-cli-js.yml b/.github/workflows/publish-cli-js.yml index 94fd57257..19b14f6f5 100644 --- a/.github/workflows/publish-cli-js.yml +++ b/.github/workflows/publish-cli-js.yml @@ -116,7 +116,7 @@ jobs: if: ${{ matrix.settings.setup }} shell: bash - name: Install dependencies - run: pnpm install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 + run: pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000 - name: Build in docker uses: addnab/docker-run-action@v3 @@ -175,7 +175,7 @@ jobs: # env # freebsd-version # cd ./tooling/cli/node/ - # pnpm install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 + # pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000 # pnpm build:release # strip -x *.node # rm -rf node_modules @@ -213,7 +213,7 @@ jobs: check-latest: true cache: 'pnpm' - name: Install dependencies - run: pnpm install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 + run: pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000 - name: Download artifacts uses: actions/download-artifact@v3 with: @@ -246,7 +246,7 @@ jobs: check-latest: true cache: 'pnpm' - name: Install dependencies - run: pnpm install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 + run: pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000 - name: Download artifacts uses: actions/download-artifact@v3 with: @@ -285,7 +285,7 @@ jobs: check-latest: true cache: 'pnpm' - name: Install dependencies - run: pnpm install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 + run: pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000 - name: Download artifacts uses: actions/download-artifact@v3 with: @@ -327,7 +327,7 @@ jobs: run: ls -R . shell: bash - name: Install dependencies - run: pnpm install --ignore-scripts --ignore-platform --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 + run: pnpm i --frozen-lockfile --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 - name: Download aarch64-gnu artifacts uses: actions/download-artifact@v3 with: @@ -377,7 +377,7 @@ jobs: check-latest: true cache: 'pnpm' - name: Install dependencies - run: pnpm install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 + run: pnpm i --frozen-lockfile --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000 - name: Download all artifacts uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/test-android.yml b/.github/workflows/test-android.yml index c0dd174ec..4ae4179a3 100644 --- a/.github/workflows/test-android.yml +++ b/.github/workflows/test-android.yml @@ -93,11 +93,11 @@ jobs: - name: build Tauri API working-directory: ./tooling/api - run: pnpm i && pnpm build + run: pnpm i --frozen-lockfile && pnpm build - name: install API example dependencies working-directory: ./examples/api - run: pnpm i + run: pnpm i --frozen-lockfile - name: init Android Studio project working-directory: ./examples/api diff --git a/.github/workflows/test-cli-js.yml b/.github/workflows/test-cli-js.yml index 6508b564b..f82fff96f 100644 --- a/.github/workflows/test-cli-js.yml +++ b/.github/workflows/test-cli-js.yml @@ -61,6 +61,6 @@ jobs: timeout-minutes: 30 run: | cd ./tooling/cli/node - pnpm i + pnpm i --frozen-lockfile pnpm build pnpm test