mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-18 22:22:17 +08:00
Adding initial ci.yml workflow
This commit is contained in:
parent
7f2a916727
commit
8b95fae89c
25
.github/workflows/ci.yml
vendored
Normal file
25
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
name: Check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12
|
||||||
|
- name: Docker Lint
|
||||||
|
uses: docker://replicated/dockerfilelint
|
||||||
|
with:
|
||||||
|
args: Dockerfile
|
||||||
|
- name: Shell Lint
|
||||||
|
uses: actions/bin/shellcheck@master
|
||||||
|
with:
|
||||||
|
args: entrypoint.sh
|
||||||
|
- name: Test
|
||||||
|
uses: actions/bin/bats@master
|
||||||
|
with:
|
||||||
|
args: test/*.bats
|
||||||
Loading…
x
Reference in New Issue
Block a user