Skip to content

Commit

Permalink
pr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
robandpdx committed Mar 16, 2023
1 parent c5b6bd2 commit 198d795
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Pull Request Tests

on:
pull_request:
branches: [ '*' ]
types:
- opened
- synchronize

jobs:
run-tests:
runs-on: ubuntu-latest
env:
working-directory: ./.github/scripts

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
check-latest: true
cache: 'npm'
cache-dependency-path: ${{ env.working-directory }}/package-lock.json
- run: npm ci
working-directory: ${{ env.working-directory }}
- run: npm test
working-directory: ${{ env.working-directory }}
- uses: tintef/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SKIP_COVERAGE_FOLDER: true
WORKING_DIRECTORY: ${{ env.working-directory }}

0 comments on commit 198d795

Please sign in to comment.