build(deps): Bump the actions-minor group across 1 directory with 2 updates #18
This file contains hidden or 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: Task Dashboard App CI/CD | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Explicitly define permissions | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup Node.js | |
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 | |
with: | |
node-version: '22' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build application (without data hydration) | |
run: npm run build | |
env: | |
VITE_ENABLE_DATA_HYDRATION: 'false' | |
- name: Run tests | |
run: npm test | |
# TODO: Add linting steps | |
# - name: Run ESLint | |
# run: npm run lint | |
# | |
# - name: Run accessibility checks | |
# run: npm run lint:a11y |