Skip to content

Commit

Permalink
feat(workflow): add verify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MM25Zamanian authored Mar 11, 2022
1 parent f38a930 commit 88fc40c
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Verify

on:
push:
branches:
- main
- 'renovate/**'
pull_request:

env:
NODE_VERSION: '16.x'

jobs:
lint:
name: Lint

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'

- run: yarn install --frozen-lockfile
- run: yarn lint

build:
name: Build TypeScript

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'

- run: yarn install --frozen-lockfile
- run: yarn build:ts

0 comments on commit 88fc40c

Please sign in to comment.