Skip to content

Commit

Permalink
Create check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaDemchenko authored Jan 9, 2024
1 parent f27094a commit 8bc13ac
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check PR

on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: Install dependencies
run: npm install
- name: Run npx tsc
run: npx tsc
- name: Run lint
run: npm run lint
- name: Run build
run: npm run build

0 comments on commit 8bc13ac

Please sign in to comment.