Skip to content

Pin dependencies

Pin dependencies #18

Workflow file for this run

name: Build production artifact
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: |
npm ci --ignore-scripts
npm run install:local
npm run build
- name: Upload production artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist