Skip to content

Commit

Permalink
feat: add yml script (#66)
Browse files Browse the repository at this point in the history
Update pull_request.yml
  • Loading branch information
Ricardocravo authored Dec 9, 2023
1 parent 2dc751e commit be44399
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
test
name: Pull Request Automation

on:
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: yarn install

- name: Check for dead code
run: yarn run ts-prune

- name: Clean the code
run: yarn clean

- name: Test pull request changes
run: yarn test

0 comments on commit be44399

Please sign in to comment.