Skip to content

feat(candidate): add reset button on dv submission form #3296

feat(candidate): add reset button on dv submission form

feat(candidate): add reset button on dv submission form #3296

Workflow file for this run

name: Lint
on: [push]
jobs:
eslint-reva-api:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/reva-api
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: Api node_modules cache
id: api-node_modules-cache
uses: actions/cache@v4
with:
path: ./packages/reva-api/node_modules
key: api-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Installing dependencies
if: steps.api-node_modules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Running ESLint
run: npm run lint
eslint-reva-admin:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/reva-admin-react
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: Admin node_modules cache
id: admin-node_modules-cache
uses: actions/cache@v4
with:
path: ./packages/reva-admin-react/node_modules
key: admin-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Installing dependencies
if: steps.admin-node_modules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Running ESLint
run: npm run lint
eslint-reva-candidate:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/reva-candidate
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: Candidate node_modules cache
id: candidate-node_modules-cache
uses: actions/cache@v4
with:
path: ./packages/reva-candidate/node_modules
key: candidate-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Installing dependencies
if: steps.candidate-node_modules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Running ESLint
run: npm run lint
eslint-reva-website:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/reva-website
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: Website node_modules cache
id: website-node_modules-cache
uses: actions/cache@v4
with:
path: ./packages/reva-website/node_modules
key: website-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Installing dependencies
if: steps.website-node_modules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Running ESLint
run: npm run lint
eslint-reva-vae-collective:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/reva-vae-collective
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: VAE Collective node_modules cache
id: vae-collective-node_modules-cache
uses: actions/cache@v4
with:
path: ./packages/reva-vae-collective/node_modules
key: vae-collective-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Installing dependencies
if: steps.vae-collective-node_modules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Running ESLint
run: npm run lint
eslint-reva-interop:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/reva-interop
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: Interop node_modules cache
id: interop-node_modules-cache
uses: actions/cache@v4
with:
path: ./packages/reva-interop/node_modules
key: interop-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Installing dependencies
if: steps.interop-node_modules-cache.outputs.cache-hit != 'true'
run: npm ci
# Need to run the postinstall script manually if the node_modules cache is hit because in that case we don't run the npm ci command
- name: Run postinstall script
if: steps.interop-node_modules-cache.outputs.cache-hit == 'true'
run: npm run postinstall
- name: Running ESLint
run: npm run lint