Skip to content

Commit

Permalink
Front-End: Github Action Test
Browse files Browse the repository at this point in the history
  • Loading branch information
king112ola committed Aug 18, 2024
1 parent c059abe commit 2ad237d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/quic_repo_frontend_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,18 @@ jobs:
cache: 'npm'
cache-dependency-path: './Front-End/package-lock.json'

- name: Cache node_modules
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
enableCrossOsArchive: false
fail-on-cache-miss: false
lookup-only: false
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Create env file
run: |
Expand Down
2 changes: 1 addition & 1 deletion Front-End/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build+deploy": "vite build && copyfiles _redirects dist && npx netlify-cli deploy --site quic.hk --prod --dir dist",
"preview": "vite preview",
"comepileSass": "sass src/assets/scss/style.scss style.css",
"github-action-test": ""
"github-action-test": "go"
},
"dependencies": {
"@emotion/react": "^11.10.5",
Expand Down

0 comments on commit 2ad237d

Please sign in to comment.