fix(global): update missions link #81
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: Pull Request -> Build/Lint/Test | |
on: | |
# Triggers the workflow on pull request events for the master branch | |
pull_request: | |
branches: [master] | |
jobs: | |
pull-request: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
# Check-out and setup | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- run: git fetch --no-tags --prune --depth=5 origin master | |
# Build | |
- name: Install | |
run: yarn install --frozen-lockfile | |
# Lint affected | |
- name: Lint | |
run: yarn lint:affected --base=origin/master | |
# Run unit tests on affected apps | |
- name: Run Tests | |
run: yarn test:affected --base=origin/master | |
# Run global e2e tests | |
- name: Run Global E2E Tests | |
run: yarn e2e:global:ci | |
# Run conference e2e tests | |
- name: Run Conference E2E Tests | |
run: yarn e2e:conference:ci | |
#Run unit tests on codemods lib | |
- name: Build | |
run: yarn build:affected --base=origin/master |