fix: release route config 1.3.0 manually #423
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: this-dot-open-source | |
env: | |
NX_MAX_PARALLEL: 2 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: Lint files | |
run: npx nx affected --target=lint --parallel=$NX_MAX_PARALLEL | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: Test Projects | |
run: npx nx affected --target=test --parallel=$NX_MAX_PARALLEL | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: Build Projects | |
run: npx nx affected --target=build --parallel=$NX_MAX_PARALLEL | |
e2e-chrome: | |
runs-on: ubuntu-latest | |
container: | |
image: cypress/browsers:node16.14.2-slim-chrome100-ff99-edge | |
options: --user 1001 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: E2E tests in chrome | |
run: npm run affected:e2e -- --browser=chrome --headless | |
- name: Archive test results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: cypress-test-results-chrome | |
path: dist/cypress | |
retention-days: 21 | |
e2e-edge: | |
runs-on: ubuntu-latest | |
container: | |
image: cypress/browsers:node16.14.2-slim-chrome100-ff99-edge | |
options: --user 1001 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: E2E tests in edge | |
run: npm run affected:e2e -- --browser=edge --headless | |
- name: Archive test results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: cypress-test-results-edge | |
path: dist/cypress | |
retention-days: 21 | |
e2e-firefox: | |
runs-on: ubuntu-latest | |
container: | |
image: cypress/browsers:node16.14.2-slim-chrome100-ff99-edge | |
options: --user 1001 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: E2E tests in firefox | |
run: npm run affected:e2e -- --browser=firefox --headless | |
- name: Archive test results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: cypress-test-results-firefox | |
path: dist/cypress | |
retention-days: 21 |