feat: update declaration of a11y (#194) #596
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: CI | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
workflow_dispatch: | |
env: | |
PUBLIC_API_URL: 'https://mj-cms.jcloud-ver-jpe.ik-server.com' | |
SENDINBLUE_API_KEY: '' # Keep this variable empty. | |
PUBLIC_MATOMO_CDN_URL: '' # Keep this variable empty. | |
PUBLIC_MATOMO_URL: '' # Keep this variable empty. | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16.17 | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- name: 'Install dependencies' | |
run: npm ci | |
- name: 'Build' | |
run: npm run build | |
- name: 'Run checks' | |
run: npm run check | |
- name: 'Run tests' | |
run: npm run test:unit |