Skip to content

Commit

Permalink
Merge pull request #55 from fastly/use-cli-for-build
Browse files Browse the repository at this point in the history
Use Fastly CLI for build/test.
  • Loading branch information
harmony7 authored Mar 8, 2024
2 parents 144cad6 + 44b178f commit bcc5a8d
Showing 1 changed file with 9 additions and 9 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

0 comments on commit bcc5a8d

Please sign in to comment.