Skip to content

Add build YAML to build on Github #1

Add build YAML to build on Github

Add build YAML to build on Github #1

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
types:
- opened
env:
MAJOR_VERSION: 0
MINOR_VERSION: 0
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Run build
run: npm run prepublish