Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run build and test workflow on all branches #1222

Merged
merged 1 commit into from
Feb 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/pr_check_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

name: Build and test

# trigger on every commit push and PR for all branches except feature branches
on:
push:
branches: [ main ]
tmarkley marked this conversation as resolved.
Show resolved Hide resolved
branches: [ '**', '!feature/**' ]
pull_request:
branches: [ main ]
branches: [ '**', '!feature/**' ]

env:
CACHE_NAME: osd-node-modules
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
if: steps.job_successful.outputs.job_successful != 'true'
uses: actions/setup-node@v2
with:
node-version: "14.18.2"
node-version-file: ".nvmrc"
registry-url: 'https://registry.npmjs.org'

- name: Setup Yarn
Expand Down Expand Up @@ -161,7 +162,7 @@ jobs:
if: steps.ftr_tests_results.outputs.ftr_tests_results != 'success'
uses: actions/setup-node@v2
with:
node-version: "14.18.2"
node-version-file: ".nvmrc"
registry-url: 'https://registry.npmjs.org'

- name: Setup Yarn
Expand Down