Migrate CI from Travis to Github Actions
Lint & Test #5
Lint & Test #5
Workflow file for this run
|
name: Lint & Test |
|
|
|
on: |
|
pull_request: |
|
types: [opened, edited, synchronize, reopened, ready_for_review] |
|
branches: |
|
- master |
|
- develop |
|
|
|
jobs: |
|
lint-and-test: |
|
runs-on: ubuntu-20.04 |
|
steps: |
|
- uses: actions/checkout@v2 |
|
- uses: actions/setup-node@v2 |
|
with: |
|
node-version: '10' |
|
- name: Install Dependencies |
|
run: | |
|
yarn install --frozen-lockfile |
|
- name: Build Licenses |
|
run: | |
|
node ./tools/licenses/fetchLicenses.js |
|
- name: Lint |
|
run: | |
|
yarn lint |
|
- name: Test |
|
run: | |
|
yarn test |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.