mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 11:54:23 -05:00
Merge pull request #120 from got2bhockey/beta
Added Github Workflow for linting and template generation
This commit is contained in:
commit
070867377e
32
.github/workflows/main.yml
vendored
Normal file
32
.github/workflows/main.yml
vendored
Normal 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: '.'
|
||||
|
Loading…
Reference in New Issue
Block a user