Skip to content

Commit

Permalink
WIP: update
Browse files Browse the repository at this point in the history
  • Loading branch information
balzss committed Jul 26, 2024
1 parent 8a39b87 commit b2caa50
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 31 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/cypress.yml

This file was deleted.

37 changes: 24 additions & 13 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: AUTO Pull Request validation
on: [pull_request]
jobs:
lint:
name: Lint commit msg + code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
name: Install Node 22
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
Expand All @@ -21,13 +21,11 @@ jobs:
- name: Lint code
run: npm run lint:changes
vitest-tests:
name: Vitest unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
name: Install Node 22
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
Expand All @@ -37,14 +35,27 @@ jobs:
run: npm run bootstrap
- name: Run vitest unit tests
run: npm run test:vitest
legacy-tests:
cypress:
name: Cypress component tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
name: Install Node 22
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Bootstrap project
run: npm run bootstrap
- name: Run Cypress components tests
run: npm run cy:component
legacy-tests:
name: Legacy unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
Expand Down

0 comments on commit b2caa50

Please sign in to comment.