Skip to content

Commit bdb343c

Browse files
authored
Add Fastly CLI setup to cleanup workflow
1 parent b1e4f30 commit bdb343c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/cleanup.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: 'Cleanup'
22
on: workflow_dispatch
33
permissions:
44
contents: read
5-
5+
env:
6+
fastly-cli_version: 13.1.0
67
jobs:
78
cleanup:
89
name: Cleanup
@@ -13,4 +14,11 @@ jobs:
1314
with:
1415
node-version: 'lts/*'
1516
- run: cd ./integration-tests/js-compute && npm install
17+
- name: Set up Fastly CLI
18+
uses: fastly/compute-actions/setup@v4
19+
with:
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
cli_version: ${{ env.fastly-cli_version }}
1622
- run: node integration-tests/js-compute/cleanupAll.js
23+
env:
24+
FASTLY_API_TOKEN: ${{ secrets.FASTLY_API_TOKEN }}

0 commit comments

Comments
 (0)