We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f702f22 commit 6c1f89bCopy full SHA for 6c1f89b
.github/workflows/backend.yml
@@ -34,12 +34,23 @@ jobs:
34
run: npm test
35
- name: Build
36
working-directory: backend
37
- run: npm run build
+ run: |
38
+ echo "=== Before build ==="
39
+ ls -la
40
+ echo "=== Running npm run build (uses node_modules/.bin for esbuild) ==="
41
+ npm run build
42
+ echo "=== After build ==="
43
44
+ ls -la .aws-sam/ || echo "ERROR: .aws-sam not created by build!"
45
+ ls -la .aws-sam/build/ || echo "ERROR: .aws-sam/build not found!"
46
+ echo "=== PWD ==="
47
+ pwd
48
- name: Store artifacts
49
uses: actions/upload-artifact@v4
50
with:
51
name: sam-build
52
path: backend/.aws-sam
53
+ if-no-files-found: error
54
55
deploy:
56
needs: build
0 commit comments