Skip to content

Commit

Permalink
chore - nx cache config updates
Browse files Browse the repository at this point in the history
  • Loading branch information
devinea committed Nov 22, 2024
1 parent c090195 commit c21227e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
- name: Run build
run: pnpm run build
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.CI_NX_ACCESS_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Run lint:fix
run: pnpm run lint:fix
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.CI_NX_ACCESS_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Commit lint fixes if any
run: |
git config --global user.name github-actions[bot]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
- name: Run build
run: pnpm run build
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.CI_NX_ACCESS_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Run unit tests
run: pnpm run test
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.CI_NX_ACCESS_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Cache playwright browsers
id: cache-playwright-browsers
uses: actions/cache@v4
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Run integration tests
run: pnpm run test:integration
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.CI_NX_ACCESS_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Upload playwright reports
if: failure()
uses: actions/upload-artifact@v3
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,5 @@ generators
**/fixtures-copy

# nx
.nx
.nx
nx-cloud.env
7 changes: 3 additions & 4 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"default": {
"options": {
"canTrackAnalytics": false,
"showUsageWarnings": true,
"nxCloudId": "63723103eb505e0e8ebeb550",

"showUsageWarnings": true
}
}
},
Expand Down Expand Up @@ -61,5 +59,6 @@
"cache": true
}
},
"defaultBase": "main"
"defaultBase": "main",
"nxCloudId": "63723103eb505e0e8ebeb550"
}

0 comments on commit c21227e

Please sign in to comment.