Skip to content

Commit ba8493b

Browse files
committed
fix: ci cd files
1 parent 633e242 commit ba8493b

File tree

2 files changed

+48
-7
lines changed

2 files changed

+48
-7
lines changed

.github/workflows/pull_request.workflow.yml

+24-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ jobs:
1111
node-version: [18, 20]
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: actions/cache@v4
14+
15+
- name: Get npm cache directory
16+
id: npm-cache-dir
17+
shell: bash
18+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
19+
20+
- name: Setup cache
21+
uses: actions/cache@v4
1522
id: npm-cache
1623
with:
1724
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -32,7 +39,14 @@ jobs:
3239
node-version: [18, 20]
3340
steps:
3441
- uses: actions/checkout@v4
35-
- uses: actions/cache@v4
42+
43+
- name: Get npm cache directory
44+
id: npm-cache-dir
45+
shell: bash
46+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
47+
48+
- name: Setup cache
49+
uses: actions/cache@v4
3650
id: npm-cache
3751
with:
3852
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -59,7 +73,14 @@ jobs:
5973
test-set: [stdout, cucumber]
6074
steps:
6175
- uses: actions/checkout@v4
62-
- uses: actions/cache@v4
76+
77+
- name: Get npm cache directory
78+
id: npm-cache-dir
79+
shell: bash
80+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
81+
82+
- name: Setup cache
83+
uses: actions/cache@v4
6384
id: npm-cache
6485
with:
6586
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/push_branches.workflow.yaml

+24-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ jobs:
1515
node-version: [18, 20]
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: actions/cache@v4
18+
19+
- name: Get npm cache directory
20+
id: npm-cache-dir
21+
shell: bash
22+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
23+
24+
- name: Setup cache
25+
uses: actions/cache@v4
1926
id: npm-cache
2027
with:
2128
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -36,7 +43,14 @@ jobs:
3643
node-version: [18, 20]
3744
steps:
3845
- uses: actions/checkout@v4
39-
- uses: actions/cache@v4
46+
47+
- name: Get npm cache directory
48+
id: npm-cache-dir
49+
shell: bash
50+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
51+
52+
- name: Setup cache
53+
uses: actions/cache@v4
4054
id: npm-cache
4155
with:
4256
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -63,7 +77,14 @@ jobs:
6377
test-set: [stdout, cucumber]
6478
steps:
6579
- uses: actions/checkout@v4
66-
- uses: actions/cache@v4
80+
81+
- name: Get npm cache directory
82+
id: npm-cache-dir
83+
shell: bash
84+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
85+
86+
- name: Setup cache
87+
uses: actions/cache@v4
6788
id: npm-cache
6889
with:
6990
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -86,7 +107,6 @@ jobs:
86107
- uses: ./.github/actions/functional-test
87108
with:
88109
test-set: ${{ matrix.test-set }}
89-
90110
release:
91111
name: Release process
92112
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)