Skip to content

Merge pull request #3 from easrng/main #15

Merge pull request #3 from easrng/main

Merge pull request #3 from easrng/main #15

Workflow file for this run

name: Build for PR

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

`pull-request` is not a valid event name
on:
pull-request:
push:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "21"
- name: Persist npm cache
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
- name: Build
- run: npm ci
- run: npm run build