Skip to content

Commit

Permalink
Merge pull request #16 from fastly/remove-package-lock
Browse files Browse the repository at this point in the history
Remove package-lock.json, and use Fastly CLI to build.
  • Loading branch information
kpfleming authored Mar 5, 2024
2 parents f28a0a8 + 3af2ae5 commit 4916f81
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1,894 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- uses: actions/cache@v3
- name: Setup Fastly CLI
uses: fastly/compute-actions/setup@v5
- name: Install Dependencies
run: npm install
- name: Build Compute Package
uses: fastly/compute-actions/build@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- name: build
run: npm run build
verbose: true
Loading

0 comments on commit 4916f81

Please sign in to comment.