--frozen-lockfile

This commit is contained in:
amrbashir 2024-08-14 18:04:05 +03:00
parent b1f922890f
commit 4447feb086
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33
8 changed files with 18 additions and 18 deletions

View File

@ -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
},
{

View File

@ -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

View File

@ -48,7 +48,7 @@ jobs:
timeout-minutes: 30
run: |
cd ./tooling/cli/node
pnpm i
pnpm i --frozen-lockfile
pnpm build
pnpm test

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -61,6 +61,6 @@ jobs:
timeout-minutes: 30
run: |
cd ./tooling/cli/node
pnpm i
pnpm i --frozen-lockfile
pnpm build
pnpm test