Skip to content

Commit

Permalink
trying normal yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanformio committed Mar 1, 2024
1 parent e2eef52 commit 1d35646
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'

# - name: Cache node modules
# uses: actions/cache@v3
# with:
# path: node_modules
# key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-node-
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Installing dependencies
if: steps.cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -125,11 +125,12 @@ jobs:
# restore-keys: |
# ${{ runner.os }}-node-

- name: Test and generate report
run: yarn test --reporter spec > tests_pipeline.txt
- name: Installing dependencies
uses: borales/actions-yarn@v4
with:
cmd: install

- name: Upload test report
uses: actions/upload-artifact@v3
- name: Test
uses: borales/actions-yarn@v4
with:
name: test-report
path: tests_pipeline.txt
cmd: test

0 comments on commit 1d35646

Please sign in to comment.