chore(deps-dev): bump @octokit/rest from 19.0.7 to 20.1.1 #2696
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
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' # preferred node version | |
- name: yarn install | |
run: yarn --frozen-lockfile --install | |
- name: lint | |
run: yarn lint | |
test: | |
name: test | |
needs: [lint] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' # min node version | |
- name: yarn install | |
run: yarn --frozen-lockfile --install | |
- name: test | |
run: yarn test | |
test-production: | |
name: production build | |
needs: [lint] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' # min node version | |
- name: yarn install | |
run: yarn --frozen-lockfile --install | |
- name: test | |
run: yarn test:production | |
test-performance-app: | |
name: performance app | |
needs: [lint] | |
runs-on: ubuntu-latest | |
# run all of the commands below inside the perf test app | |
defaults: | |
run: | |
working-directory: m3-perf-testing-app | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' # min node version | |
- name: yarn install | |
run: yarn --frozen-lockfile --install | |
- name: test:performance-app | |
run: yarn test | |
test-node: | |
name: 'node:${{matrix.node}}' | |
needs: [lint, test] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [14.x, 16.x, 18.x] # Active and Current LTS | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{matrix.node}} | |
- name: yarn install | |
run: yarn --frozen-lockfile --install | |
- name: test | |
run: yarn test | |
test-ember: | |
name: 't:${{matrix.try-scenario}}' | |
needs: [lint, test] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
try-scenario: [ember-lts, ember-data-4-1, ember-data-3-x-source-4-lts, ember-data-3-x-source-4-8, ember-data-lts-3-x] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- name: yarn install | |
run: yarn --frozen-lockfile --install | |
- name: try ${{matrix.try-scenario}} | |
run: yarn run ember try:one ${{matrix.try-scenario}} |