Skip to content

Commit

Permalink
Fabrica-sw-update: upgrade pull_request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
svogt0511 committed Dec 2, 2022
1 parent 8c54958 commit 1338c6e
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,21 @@ jobs:
strategy:
fail-fast: false
steps:
- name: Branch name
run: echo running on branch ${GITHUB_REF##*/}
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'

- name: Get branch name
id: branch-name
run: echo "branch=${{github.ref_name}}"
run: echo "release=${{github.event.release.tag_name}}"

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "name=dir::$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: cypress-cache
with:
path: |
Expand Down Expand Up @@ -50,16 +53,16 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "name=dir::$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: cypress-cache
with:
path: |
Expand Down Expand Up @@ -90,16 +93,16 @@ jobs:
matrix:
containers: [1, 2, 3, 4, 5]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "name=dir::$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: cypress-cache
with:
path: |
Expand All @@ -110,7 +113,7 @@ jobs:
restore-keys: ${{ runner.os }}-yarn-

- name: Download Test Build artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: test_build
path: test_build/
Expand Down

0 comments on commit 1338c6e

Please sign in to comment.