File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 12
12
id-token : write # Required for OIDC
13
13
contents : read # Required to fetch repo contents
14
14
steps :
15
- # Step 0: Cache node_modules and Vite cache
16
- - name : Cache node_modules and Vite cache
17
- uses : actions/cache@v4
18
- with :
19
- path : |
20
- node_modules
21
- **/.vite
22
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
23
- restore-keys : |
24
- ${{ runner.os }}-node-
25
-
26
15
# Step 1: Checkout the code
27
16
- name : Checkout code
28
17
uses : actions/checkout@v4
39
28
- name : Install dependencies
40
29
run : npm ci --include=dev
41
30
42
- - name : Echo before build
43
- run : echo "Starting build step..."
44
-
45
31
# Step 4: Build the project
46
32
- name : Build package
47
- run : NODE_OPTIONS="--max_old_space_size=4096" npm run build
33
+ run : npm run build
48
34
49
35
# Step 5: Configure AWS credentials via OIDC
50
36
- name : Configure AWS credentials
You can’t perform that action at this time.
0 commit comments