Skip to content

Commit 17d23c1

Browse files
authored
fix: added --fronzen-lockfile to CI script (#1500)
* fix: added --fronzen-lockfile --ignore-scripts to CI script * fix: removed unnecessary flag
1 parent ea182b7 commit 17d23c1

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

.github/workflows/broken-links.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
repository_dispatch:
55
workflow_dispatch:
66
schedule:
7-
- cron: '0 0 1 * *' # Trigger the workflow every month
7+
- cron: '0 0 1 * *' # Trigger the workflow every month
88

99
jobs:
1010
build_and_check:
@@ -14,7 +14,10 @@ jobs:
1414
- uses: actions/setup-node@v3
1515
with:
1616
node-version: 18
17-
- run: yarn && yarn build
17+
- name: Install dependencies (frozen) and build
18+
run: |
19+
yarn install --frozen-lockfile
20+
yarn build
1821
1922
- name: Link Checker
2023
id: lychee

.github/workflows/pr-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
node-version: ${{ matrix.node-version }}
1717
- name: lint
1818
run: |
19-
yarn
19+
yarn install --frozen-lockfile
2020
yarn lint
2121
working-directory: ./
2222
run_tests:
@@ -33,7 +33,7 @@ jobs:
3333
node-version: ${{ matrix.node-version }}
3434
- name: unit_test
3535
run: |
36-
yarn
36+
yarn install --frozen-lockfile
3737
yarn test
3838
working-directory: ./
3939
build_code:
@@ -50,6 +50,6 @@ jobs:
5050
node-version: ${{ matrix.node-version }}
5151
- name: build
5252
run: |
53-
yarn
53+
yarn install --frozen-lockfile
5454
yarn build
5555
working-directory: ./

.github/workflows/pull-request-preview.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929
with:
3030
node-version: 18
3131
- run: npm install -g yarn
32-
- run: yarn && yarn build
32+
- name: Install dependencies (frozen) and build
33+
run: |
34+
yarn install --frozen-lockfile
35+
yarn build
3336
- id: deploy_firebase_hosting_channel
3437
uses: FirebaseExtended/action-hosting-deploy@v0
3538
with:
@@ -51,7 +54,7 @@ jobs:
5154
with:
5255
node-version: 18
5356
- name: Install dependencies
54-
run: yarn install --immutable --immutable-cache --check-cache
57+
run: yarn install --frozen-lockfile
5558
- name: Install Playwright Browsers
5659
run: npx playwright install --with-deps
5760
- name: Run Playwright tests

.github/workflows/s3-production.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
with:
2020
node-version: 18
2121

22-
- name: install dependencies & build
23-
run: yarn && yarn build
22+
- name: Install dependencies (frozen) and build
23+
run: |
24+
yarn install --frozen-lockfile
25+
yarn build
2426
2527
- name: Configure AWS Credentials
2628
uses: aws-actions/configure-aws-credentials@v1

.github/workflows/s3-staging.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ jobs:
1111
- uses: actions/setup-node@v3
1212
with:
1313
node-version: 18
14-
- run: yarn && yarn build
14+
- name: Install dependencies (frozen) and build
15+
run: |
16+
yarn install --frozen-lockfile
17+
yarn build
1518
- name: Configure AWS Credentials
1619
uses: aws-actions/configure-aws-credentials@v1
1720
with:

0 commit comments

Comments
 (0)