mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Add github action
This commit is contained in:
parent
85951615a9
commit
8316ccc70a
18
.github/workflows/ci-workflow.yml
vendored
Normal file
18
.github/workflows/ci-workflow.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: workflow
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- src/js/*
|
||||||
|
jobs:
|
||||||
|
job:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 3
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Prepare
|
||||||
|
run: npm ci
|
||||||
|
- name: Lint
|
||||||
|
uses: mooyoul/tslint-actions@v1.1.1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
pattern: "*.ts"
|
Loading…
Reference in New Issue
Block a user