neko/.github/workflows/pull_requests.yml

26 lines
472 B
YAML
Raw Normal View History

2022-07-18 08:43:29 +12:00
name: Build npm package
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build
run: npm install && npm run build