Skip to content

Commit

Permalink
feat: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloanan committed Jan 9, 2022
1 parent e3b51ab commit 456edca
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/issue-autolink.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Link pull request to issues'
on:
pull_request:
types: [opened]

jobs:
issue-links:
runs-on: ubuntu-latest
steps:
- uses: tkt-actions/[email protected]
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
branch-prefix: 'i'
resolve: 'true'
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint and check

on:
- push

jobs:
lint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- run: yarn
- run: yarn lint

tsc:
name: Run Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- run: yarn
- run: yarn tsc --noEmit

0 comments on commit 456edca

Please sign in to comment.