Skip to content

Commit

Permalink
enforce test to run on each environment branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisfc68 committed Dec 21, 2023
1 parent 5ba9657 commit f6dd197
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
branches: [ master, Stable-Test, QA-Test ]
pull_request:
branches: [ master ]
branches: [ master, Stable-Test, QA-Test ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -23,12 +22,12 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v1
- name: Use Node.js 19.6.0
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: '19.6.0'

- name: Install truffle
run: npm install -g truffle
Expand Down

0 comments on commit f6dd197

Please sign in to comment.