Skip to content

Update build.yml

Update build.yml #7

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- run: pnpm install
- run: pnpm build
- run: cp nwcompat.js nwcompat-loader.js dist
- uses: actions/upload-artifact@v4
with:
path: dist