Skip to content

build

build #119

Workflow file for this run

name: build
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
#: Run the test every week
schedule:
- cron: "0 12 * * 1"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build