Merge pull request #258 from nsylke/nsylke-patch-3

ci: create build workflow
This commit is contained in:
Lucas Smith
2023-08-18 09:32:44 +10:00
committed by GitHub

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

@ -0,0 +1,29 @@
name: "Continuous Integration"
on:
push:
branches: [ "feat/refresh" ]
pull_request:
branches: [ "feat/refresh" ]
env:
HUSKY: 0
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build