-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (29 loc) · 781 Bytes
/
test#835.yml
File metadata and controls
35 lines (29 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Reproduce Cache Miss and Font Awesome
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
# Step 2: Setup Node.js with caching enabled (npm cache)
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
# Step 3: Install dependencies (will log cache misses)
- name: Install dependencies
run: npm ci --verbose
shell: bash
# Step 4: Run tests (optional step, for example, to check that your app works)
- name: Run tests
run: npm test
shell: bash