-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: # run on all PRs, not just PRs to a particular branch | ||
|
||
jobs: | ||
basics: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: git clone | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 100 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: latest | ||
|
||
- run: npm ci | ||
|
||
- name: Setup BATS | ||
uses: mig4/setup-bats@v1 | ||
with: | ||
bats-version: 0.4.0 # This is the version i have locally. looks like an upgrade is in order, though… | ||
- run: git submodule update --init | ||
name: pull in bats assertion libs | ||
|
||
- run: npm run lint | ||
- run: npm run shellcheck | ||
- run: npm run unit |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters