Release/1.3.1 -> develop #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Pipeline for opened PR | |
on: | |
pull_request: | |
branches: [ main, develop ] #put your branches which you want to execute test pipeline | |
types: [ opened, ready_for_review ] | |
concurrency: | |
group: ${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
run_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 16 ] | |
name: Run Test on Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: yarn install --immutable --immutable-cache --check-cache | |
- run: yarn test |