File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,37 @@ jobs:
1515 uses : ./.github/workflows/common-build.yml
1616 secrets : inherit
1717
18+ remove-old-layers :
19+ runs-on : ubuntu-latest
20+ needs : build
21+ concurrency :
22+ group : remove-all-layers
23+ steps :
24+ - uses : actions/checkout@v4
25+ - name : Use Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : ${{ env.node_version }}
29+ registry-url : ' https://registry.npmjs.org'
30+ - name : Download build artifact
31+ uses : actions/download-artifact@v4
32+ with :
33+ name : dist
34+ path : dist
35+ - name : Configure AWS Credentials
36+ uses : aws-actions/configure-aws-credentials@v4
37+ with :
38+ aws-region : eu-west-1
39+ role-to-assume : ${{ secrets.AWS_ROLE }}
40+ role-session-name : GitHubActions
41+ - name : Remove old layers
42+ run : |
43+ node dist/lldebugger.mjs -r all
44+
1845 test :
1946 uses : ./.github/workflows/common-test.yml
2047 secrets : inherit
21- needs : build
48+ needs : remove-old-layers
2249 with :
2350 mode : build
2451 testMonorepo : false
You can’t perform that action at this time.
0 commit comments