Skip to content

Commit

Permalink
Add git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimNastoyashchy committed Jul 9, 2024
1 parent cb6135d commit 4af8f41
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pr_master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: GitHub Actions Pr to master
on:
pull_request:
push:
branches: master
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Lint check
run: npm run lint
- name: Prettier check
run: npm run prettier
- name: Test
run: npm test

0 comments on commit 4af8f41

Please sign in to comment.