chore: Add ci.yml workflow

This commit is contained in:
Cole Bemis 2022-03-29 16:07:02 -07:00 committed by GitHub
parent 734f3f5114
commit 508003d9d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- run: npm ci
- run: npm run all
- name: Release
if: github.ref_name == 'master'
run: npx semantic-release