mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-18 22:27:51 +00:00
31 lines
556 B
YAML
31 lines
556 B
YAML
name: b3bp CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 18.x
|
|
- name: Install
|
|
run: |
|
|
corepack yarn
|
|
- name: Lint
|
|
env:
|
|
SHELLCHECK_SEVERITY: warning
|
|
run: |
|
|
corepack yarn lint
|
|
- name: Test
|
|
run: |
|
|
corepack yarn test
|