Skip to content

Commit

Permalink
Configuration for CI with GitHub Actions; fixes #13 (#21)
Browse files Browse the repository at this point in the history
Configure CI with GitHub Actions; fixes #13
  • Loading branch information
jonahgreenthal authored Sep 1, 2023
1 parent a3705f5 commit b0f3cc0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/yarn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on: [push]

jobs:
build:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x

- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Build production bundle
uses: borales/actions-yarn@v4
with:
cmd: build
- name: Lint # This might actually be unnecessary because eslint might run as part of the build process, but to be explicit...
uses: borales/actions-yarn@v4
with:
cmd: eslint src

0 comments on commit b0f3cc0

Please sign in to comment.