Skip to content

Commit

Permalink
test for acc userdata on page /profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
techeca committed Jul 4, 2024
1 parent c6190f5 commit be61836
Show file tree
Hide file tree
Showing 7 changed files with 1,353 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
ignorePatterns: ['dist', '.eslintrc.cjs', 'tests', 'coverage', 'e2e'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/tests-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,26 @@ on:
- 'feature/*'

jobs:
test:
install-dependencies:
name: Run Tests & Lint
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: npm install

lint:
runs-on: ubuntu-latest
needs: [install-dependencies]
steps:
- name: Run Linter
run: npm run lint

- name: Run linting
run: npm run lint
tests:
runs-on: ubuntu-latest
needs: [install-dependencies]
steps:
- name: Run Tests
run: npm run test
Loading

0 comments on commit be61836

Please sign in to comment.