Skip to content

Commit

Permalink
Create v4_pull_request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-rodgers authored Feb 28, 2024
1 parent 6321521 commit ca91071
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/v4_pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: V4 Pull Request Testing
on:
pull_request:
branches:
- version-4
jobs:
run_pr_tests:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
ref: version-4
# setup nodejs
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: package-lock.json

# Run the npm install
- run: npm ci

- name: Run lint
run: npm run lint

- name: Run package
run: npm run package

- name: Run tests
run: npm test -- --mode pr

0 comments on commit ca91071

Please sign in to comment.