[FLAG-1095] Split RW and GFW API's keys to make it more flexible #2868
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: CI | |
on: | |
pull_request: | |
branches: | |
- develop | |
- master | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.15.0' | |
- name: Install modules | |
run: yarn | |
- name: Run ESLint | |
run: yarn lint | |
unit-tests: | |
if: ${{ !github.event.pull_request.draft }} | |
name: unit-tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.15.0' | |
- name: Install modules | |
run: yarn | |
- name: Run Unit Tests | |
run: yarn test:ci | |