Skip to content

Commit 5b1fa8f

Browse files
committed
Fix workflows
1 parent 7c72d54 commit 5b1fa8f

File tree

4 files changed

+19
-47
lines changed

4 files changed

+19
-47
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,14 @@ on:
99
- '*'
1010

1111
jobs:
12-
# secrets:
13-
# name: Secrets
14-
# runs-on: ubuntu-latest
15-
# steps:
16-
# - name: Checkout
17-
# uses: actions/[email protected]
18-
# - name: Install dependencies
19-
# run: npm ci
20-
# - name: Scan for secrets
21-
# uses: evanextreme/[email protected]
2212
lint:
2313
name: Lint
2414
runs-on: ubuntu-latest
2515
steps:
2616
- name: Checkout
2717
uses: actions/[email protected]
2818
- name: Install dependencies
29-
run: npm ci
19+
run: npm ci --ignore-scripts
3020
- name: Lint the codebase
3121
run: npm run lint:ci
3222
test:
@@ -36,7 +26,7 @@ jobs:
3626
- name: Checkout
3727
uses: actions/[email protected]
3828
- name: Install dependencies
39-
run: npm ci
29+
run: npm ci --ignore-scripts
4030
- name: Run tests
4131
run: npm run test:ci
4232
- name: Upload coverage
@@ -51,7 +41,7 @@ jobs:
5141
- name: Checkout
5242
uses: actions/[email protected]
5343
- name: Install dependencies
54-
run: npm ci
44+
run: npm ci --ignore-scripts
5545
- name: Build code
5646
run: npm run build:ci
5747
- name: Upload the dist folder
@@ -66,7 +56,7 @@ jobs:
6656
- name: Checkout
6757
uses: actions/[email protected]
6858
- name: Install dependencies
69-
run: npm ci
59+
run: npm ci --ignore-scripts
7060
- name: Build docs
7161
run: npm run docs:ci
7262
- name: Upload the storybook

.github/workflows/completion.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ jobs:
3030
uses: 'pascalgn/[email protected]'
3131
env:
3232
GITHUB_TOKEN: '${{ secrets.GH_PAT }}'
33-
MERGE_LABELS: Ready to merge
33+
MERGE_LABELS: 'Ready to merge'
3434
MERGE_METHOD: rebase
3535
MERGE_COMMIT_MESSAGE: 'Merge ${{ github.ref }} into master'
3636
MERGE_RETRIES: 10
3737
MERGE_RETRY_SLEEP: 30000
38+
MERGE_REQUIRED_APPROVALS: '0'
39+
MERGE_FORKS: "false"
40+
UPDATE_METHOD: rebase

.github/workflows/publish.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,14 @@ on:
66
- '*'
77

88
jobs:
9-
# secrets:
10-
# name: Secrets
11-
# runs-on: ubuntu-latest
12-
# steps:
13-
# - name: Checkout
14-
# uses: actions/[email protected]
15-
# - name: Install dependencies
16-
# run: npm ci
17-
# - name: Scan for secrets
18-
# uses: evanextreme/[email protected]
199
lint:
2010
name: Lint
2111
runs-on: ubuntu-latest
2212
steps:
2313
- name: Checkout
2414
uses: actions/[email protected]
2515
- name: Install dependencies
26-
run: npm ci
16+
run: npm ci --ignore-scripts
2717
- name: Lint the codebase
2818
run: npm run lint:ci
2919
test:
@@ -33,7 +23,7 @@ jobs:
3323
- name: Checkout
3424
uses: actions/[email protected]
3525
- name: Install dependencies
36-
run: npm ci
26+
run: npm ci --ignore-scripts
3727
- name: Run tests
3828
run: npm run test:ci
3929
- name: Upload coverage
@@ -48,7 +38,7 @@ jobs:
4838
- name: Checkout
4939
uses: actions/[email protected]
5040
- name: Install dependencies
51-
run: npm ci
41+
run: npm ci --ignore-scripts
5242
- name: Run tests
5343
run: npm run build:ci
5444
- name: Upload dist
@@ -63,7 +53,7 @@ jobs:
6353
- name: Checkout
6454
uses: actions/[email protected]
6555
- name: Install dependencies
66-
run: npm ci
56+
run: npm ci --ignore-scripts
6757
- name: Build storybook
6858
run: npm run docs:ci
6959
- name: Upload the storybook
@@ -79,7 +69,7 @@ jobs:
7969
- name: Checkout
8070
uses: actions/[email protected]
8171
- name: Install dependencies
82-
run: npm ci
72+
run: npm ci --ignore-scripts
8373
- name: Download storybook
8474
uses: actions/download-artifact@v1
8575
with:
@@ -105,7 +95,7 @@ jobs:
10595
- name: Checkout
10696
uses: actions/[email protected]
10797
- name: Install dependencies
108-
run: npm ci
98+
run: npm ci --ignore-scripts
10999
- name: Publish
110100
run: |
111101
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc

.github/workflows/release.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,14 @@ on:
66
- master
77

88
jobs:
9-
# secrets:
10-
# name: Secrets
11-
# runs-on: ubuntu-latest
12-
# steps:
13-
# - name: Checkout
14-
# uses: actions/[email protected]
15-
# - name: Install dependencies
16-
# run: npm ci
17-
# - name: Scan for secrets
18-
# uses: evanextreme/[email protected]
199
lint:
2010
name: Lint
2111
runs-on: ubuntu-latest
2212
steps:
2313
- name: Checkout
2414
uses: actions/[email protected]
2515
- name: Install dependencies
26-
run: npm ci
16+
run: npm ci --ignore-scripts
2717
- name: Lint the codebase
2818
run: npm run lint:ci
2919
test_and_report_coverage:
@@ -33,7 +23,7 @@ jobs:
3323
- name: Checkout
3424
uses: actions/[email protected]
3525
- name: Install dependencies
36-
run: npm ci
26+
run: npm ci --ignore-scripts
3727
- name: Run tests
3828
run: npm run test:ci
3929
- name: Run and upload coverage
@@ -55,7 +45,7 @@ jobs:
5545
- name: Checkout
5646
uses: actions/[email protected]
5747
- name: Install dependencies
58-
run: npm ci
48+
run: npm ci --ignore-scripts
5949
- name: Build code
6050
run: npm run build:ci
6151
- name: Upload the dist folder
@@ -70,7 +60,7 @@ jobs:
7060
- name: Checkout
7161
uses: actions/[email protected]
7262
- name: Install dependencies
73-
run: npm ci
63+
run: npm ci --ignore-scripts
7464
- name: Build storybook
7565
run: npm run docs:ci
7666
- name: Upload the docs
@@ -81,13 +71,12 @@ jobs:
8171
maybe_tag:
8272
name: Maybe tag the release
8373
runs-on: ubuntu-latest
84-
# needs: [secrets, lint, test_and_report_coverage, build_code, build_docs]
8574
needs: [lint, test_and_report_coverage, build_code, build_docs]
8675
steps:
8776
- name: Checkout
8877
uses: actions/[email protected]
8978
- name: Install dependencies
90-
run: npm ci
79+
run: npm ci --ignore-scripts
9180
- name: Maybe generate tag
9281
uses: Klemensas/[email protected]
9382
with:

0 commit comments

Comments
 (0)