neko/.github/workflows/pull_requests.yml
2022-07-17 22:43:29 +02:00

26 lines
472 B
YAML

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