chore: enable @typescript-eslint/member-ordering
rule
#1896
Workflow file for this run
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: Continuous Integration | |
on: | |
pull_request: | |
permissions: read-all | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
permissions: read-all | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.2.1 | |
- uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run version:check | |
- name: Lint code | |
run: npm run lint | |
- name: Lint docs | |
run: npm run lint:markdown | |
- name: Transpile code | |
run: npm run compile | |
- name: Unit test | |
run: npm run test:unit:ci | |
- name: Unit test (nodejs) | |
run: npm run test:unit:ci-node | |
saucelabs-integration-tests: | |
runs-on: ubuntu-latest | |
permissions: read-all | |
environment: integration | |
env: | |
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | |
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | |
SAUCE_TUNNEL_ID: ${{ secrets.SAUCE_TUNNEL_ID }} | |
strategy: | |
fail-fast: false | |
matrix: | |
browser: [edge] | |
steps: | |
- name: Setup sauce connect | |
uses: saucelabs/sauce-connect-action@v2.3.4 | |
with: | |
username: ${{ secrets.SAUCE_USERNAME }} | |
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} | |
tunnelName: ${{ secrets.SAUCE_TUNNEL_ID }} | |
- name: Checkout | |
uses: actions/checkout@v4.2.1 | |
- uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run compile | |
- name: Add to hosts file | |
run: echo "127.0.0.1 local.test" | sudo tee -a /etc/hosts | |
- name: Run integration tests in Saucelabs | |
run: npm run test:integration:remote -- --env ${{ matrix.browser }} | |
timeout-minutes: 15 | |
local-integration-tests: | |
runs-on: ubuntu-latest | |
permissions: read-all | |
strategy: | |
fail-fast: false | |
matrix: | |
browser: [headlessChrome, headlessFirefox] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.2.1 | |
- uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run compile | |
- name: Local integration tests using ${{ matrix.browser }} | |
run: npm run test:integration:local:${{ matrix.browser }}:_execute | |
- name: Upload test logs | |
uses: actions/upload-artifact@v3.1.2 | |
if: ${{ failure() }} | |
with: | |
name: test-results ${{ matrix.browser }} | |
path: | | |
packages/web/tests_output/ | |
packages/web/logs/ |