Skip to content

Commit

Permalink
feat(ci): add build with github ci (#46)
Browse files Browse the repository at this point in the history
* feat: add ci

* fix: lint

* fix: silly typo
  • Loading branch information
c43721 authored Feb 3, 2022
1 parent f8031be commit 45ca40c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-20.04

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: npm

- run: npm install

- run: npm run build

0 comments on commit 45ca40c

Please sign in to comment.