File tree Expand file tree Collapse file tree 5 files changed +48
-44
lines changed Expand file tree Collapse file tree 5 files changed +48
-44
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
3
+
4
+ update ci workflows
Original file line number Diff line number Diff line change @@ -19,20 +19,28 @@ jobs:
19
19
needs : [skip-check]
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : actions/checkout@v4
22
+ - name : Checkout Repository
23
+ uses : actions/checkout@v5
23
24
with :
24
25
fetch-depth : 0 # # Needed for Changesets to find `main` branch
25
26
# # https://github.com/changesets/changesets/issues/517
26
27
- name : Create git reference to main branch (for Changesets)
27
28
if : ${{ github.event.pull_request.title != 'Version Packages' }}
28
29
run : git pull --force --no-tags origin main:main
29
- - uses : pnpm/action-setup@v3
30
- - uses : actions/setup-node@v4
30
+ - name : Setup PNPM
31
+ uses : pnpm/action-setup@v4
32
+ - name : Setup Node
33
+ uses : actions/setup-node@v5
31
34
with :
32
- node-version : 20
35
+ node-version : 22
33
36
cache : pnpm
34
- - run : pnpm install
35
- - run : pnpm exec changeset status --since=main
36
- - run : pnpm format:check
37
- - run : pnpm lint
38
- - run : pnpm test
37
+ - name : Install Dependencies
38
+ run : pnpm install
39
+ - name : Check Changeset Status
40
+ run : pnpm exec changeset status --since=main
41
+ - name : Check Format
42
+ run : pnpm format:check
43
+ - name : Check Lint
44
+ run : pnpm lint
45
+ - name : Run Tests
46
+ run : pnpm test
Original file line number Diff line number Diff line change @@ -18,24 +18,23 @@ jobs:
18
18
name : Release
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/checkout@v4
21
+ - name : Checkout Repository
22
+ uses : actions/checkout@v5
22
23
with :
23
24
fetch-depth : 0
24
-
25
25
- name : Git Config
26
26
run : |
27
27
git config user.name "github-action"
28
28
git config user.email "[email protected] "
29
-
30
- - uses : pnpm/action-setup@v3
31
-
32
- - uses : actions/setup-node@v4
29
+ - name : Setup PNPM
30
+ uses : pnpm/action-setup@v4
31
+ - name : Setup Node
32
+ uses : actions/setup-node@v5
33
33
with :
34
- node-version : 20
34
+ node-version : 22
35
35
cache : pnpm
36
-
37
- - run : pnpm i
38
-
36
+ - name : Install Dependencies
37
+ run : pnpm i
39
38
- name : Create Release Pull Request or Publish to Qlik GitHub Packages npm registry
40
39
id : changesets
41
40
uses : changesets/action@v1
Original file line number Diff line number Diff line change @@ -13,29 +13,26 @@ jobs:
13
13
update-dependencies :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v4
17
-
16
+ - name : Checkout Repository
17
+ uses : actions/checkout@v5
18
18
- name : Git Config
19
19
run : |
20
20
git config user.name "github-action"
21
21
git config user.email "[email protected] "
22
-
23
- - uses : pnpm/action-setup@v3
24
-
25
- - uses : actions/setup-node@v4
22
+ - name : Setup PNPM
23
+ uses : pnpm/action-setup@v4
24
+ - name : Setup Node
25
+ uses : actions/setup-node@v5
26
26
with :
27
- node-version : 20
27
+ node-version : 22
28
28
cache : pnpm
29
-
30
- - run : pnpm install
31
-
29
+ - name : Install Dependencies
30
+ run : pnpm install
32
31
- name : Update Dependencies
33
32
run : pnpm update --latest --recursive
34
-
35
33
- name : Run test cases to update test output diff
36
34
continue-on-error : true
37
35
run : pnpm test
38
-
39
36
- name : Create Pull Request
40
37
id : cpr
41
38
uses : peter-evans/create-pull-request@v7
47
44
branch : chore/update-dependencies
48
45
delete-branch : true
49
46
title : " chore: update npm dependencies"
50
-
51
- - name : Enable Pull Request Automerge
52
- if : steps.cpr.outputs.pull-request-operation == 'created'
53
- uses : peter-evans/enable-pull-request-automerge@v2
54
- with :
55
- token : ${{ secrets.GH_ACCESS_TOKEN }}
56
- pull-request-number : ${{ steps.cpr.outputs.pull-request-number }}
57
- merge-method : squash
Original file line number Diff line number Diff line change @@ -11,21 +11,25 @@ jobs:
11
11
update-configs :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v4
14
+ - name : Checkout Repository
15
+ uses : actions/checkout@v5
15
16
16
17
- name : Git Config
17
18
run : |
18
19
git config user.name "github-action"
19
20
git config user.email "[email protected] "
20
21
21
- - uses : pnpm/action-setup@v3
22
+ - name : Setup PNPM
23
+ uses : pnpm/action-setup@v4
22
24
23
- - uses : actions/setup-node@v4
25
+ - name : Setup Node
26
+ uses : actions/setup-node@v5
24
27
with :
25
- node-version : 20
28
+ node-version : 22
26
29
cache : pnpm
27
30
28
- - run : pnpm install
31
+ - name : Install Dependencies
32
+ run : pnpm install
29
33
30
34
- name : Update Configs
31
35
run : ./packages/eslint-config/test/update-configs.sh
You can’t perform that action at this time.
0 commit comments