Skip to content

Commit

Permalink
chore: Basic nx cloud CI (#755)
Browse files Browse the repository at this point in the history
NX Cloud Caching
  • Loading branch information
orius123 authored Jul 23, 2024
1 parent 433b19a commit 4b4d9bd
Show file tree
Hide file tree
Showing 3 changed files with 4,880 additions and 4,672 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
env:
NODE_VERSION: 18.2
PNPM_VERSION: 7.28.0
PNPM_VERSION: 8
jobs:
gitleaks:
name: 🔒 Run Git leaks
Expand Down Expand Up @@ -38,12 +38,13 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
- name: Restore cached npm dependencies
uses: actions/cache/restore@v4
with:
Expand All @@ -55,6 +56,8 @@ jobs:
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Set NX cloud shas
uses: nrwl/nx-set-shas@v4
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Cache npm dependencies
Expand Down
3 changes: 2 additions & 1 deletion packages/sdks/react-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
"object-assign": "^4.1.1",
"scheduler": "^0.23.0",
"@remix-run/router": "1.17.0",
"jest-environment-jsdom": "^29.0.0"
"jest-environment-jsdom": "^29.0.0",
"core-js": "3.19.3"
},
"peerDependencies": {
"@types/react": ">=17",
Expand Down
Loading

0 comments on commit 4b4d9bd

Please sign in to comment.