Merge pull request #120 from got2bhockey/beta

Added Github Workflow for linting and template generation
This commit is contained in:
Thomas Smyth 2021-01-08 22:18:55 +00:00 committed by GitHub
commit 070867377e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

32
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Build Yarn docs & lint source code
on: push
jobs:
run:
name: Lint and build templates
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
check-latest: true
- name: Install dependencies
run: yarn install
- name: Build all docs
run: yarn run build-all
- name: Update source code
run: yarn run lint
- name: Commit changes
uses: EndBug/add-and-commit@v6
with:
message: 'ESLint & README Generation'
add: '.'