chore(deps): bump the astro group with 2 updates (#430) #874
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: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Check for build and type issues | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Cache Node modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm # Cache the npm cache directory | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install dependencies | |
run: npm ci | |
- name: Run check | |
run: npm run check && npm run lint:check && npm run format:check | |
# ensure build works | |
- name: Run build | |
run: npm run build |