Created the ci workflow
This commit is contained in:
parent
0ecc0fb301
commit
5b4ddd1693
32
.github/workflows/ci.yml
vendored
Normal file
32
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: CI
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '16.x'
|
||||
- name: Install Dependencies
|
||||
run: yarn ci:install
|
||||
- name: Run linter
|
||||
run: yarn run ci:eslint
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '16.x'
|
||||
- name: Install Dependencies
|
||||
run: yarn run ci:install
|
||||
- name: Compile Typescript
|
||||
run: yarn run ci:tsc
|
Loading…
x
Reference in New Issue
Block a user