Skip to content

Commit 4916f81

Browse files
authored
Merge pull request #16 from fastly/remove-package-lock
Remove package-lock.json, and use Fastly CLI to build.
2 parents f28a0a8 + 3af2ae5 commit 4916f81

File tree

2 files changed

+9
-1894
lines changed

2 files changed

+9
-1894
lines changed

.github/workflows/test.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
steps:
1010
- name: Checkout code
1111
uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
12+
- name: Setup Node
13+
uses: actions/setup-node@v3
1314
with:
1415
node-version: '18'
15-
- uses: actions/cache@v3
16+
- name: Setup Fastly CLI
17+
uses: fastly/compute-actions/setup@v5
18+
- name: Install Dependencies
19+
run: npm install
20+
- name: Build Compute Package
21+
uses: fastly/compute-actions/build@v5
1622
with:
17-
path: ~/.npm
18-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
19-
restore-keys: |
20-
${{ runner.os }}-node-
21-
- run: npm ci
22-
- name: build
23-
run: npm run build
23+
verbose: true

0 commit comments

Comments
 (0)