Skip to content

Commit

Permalink
fix: ci cd files
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed Dec 11, 2024
1 parent 633e242 commit ba8493b
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 7 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/pull_request.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- name: Setup cache
uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -32,7 +39,14 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- name: Setup cache
uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -59,7 +73,14 @@ jobs:
test-set: [stdout, cucumber]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- name: Setup cache
uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand Down
28 changes: 24 additions & 4 deletions .github/workflows/push_branches.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- name: Setup cache
uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -36,7 +43,14 @@ jobs:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- name: Setup cache
uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -63,7 +77,14 @@ jobs:
test-set: [stdout, cucumber]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- name: Setup cache
uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -86,7 +107,6 @@ jobs:
- uses: ./.github/actions/functional-test
with:
test-set: ${{ matrix.test-set }}

release:
name: Release process
runs-on: ubuntu-22.04
Expand Down

0 comments on commit ba8493b

Please sign in to comment.