Skip to content

Commit

Permalink
feat: refactor cache, cleanup old gha
Browse files Browse the repository at this point in the history
  • Loading branch information
KotaHusky committed Mar 27, 2024
1 parent dc190c8 commit 358d600
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 146 deletions.
56 changes: 0 additions & 56 deletions .github/workflows/azure-static-web-apps-nice-moss-09ba4f20f.yml

This file was deleted.

19 changes: 4 additions & 15 deletions .github/workflows/main_msal-react-demo-kotahusky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,19 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: '20'

- uses: actions/cache@v3
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version: 20
cache: 'npm'

- name: Install dependencies
run: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'

- name: Build Nx Next.js app
run: npx nx build msal-react-demo

- name: Show directory structure
run: |
tree -L 3 -d -I 'node_modules|dist|.git'
ls ./apps/msal-react-demo/.next
run: tree -a -L 3 -d ./apps ./libs

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down
75 changes: 0 additions & 75 deletions .github/workflows/main_msal-react-kotahusky.yml

This file was deleted.

0 comments on commit 358d600

Please sign in to comment.