Skip to content

update to npm

update to npm #18

Workflow file for this run

name: build
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "16"
cache: 'npm'
- name: Install dependencies with npm
run: npm ci
working-directory: ${{ env.BUILD_PATH }}
- name: Build with Astro
run: |
npm run build
working-directory: ${{ env.BUILD_PATH }}