chore(deps-dev): Bump @eslint/js from 9.12.0 to 9.13.0 #235
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build-test-check-and-use: | |
name: Build, Test, Check and Use | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
node-version-file: '.node-version' | |
- name: Install dependencies | |
run: | | |
pnpm install --frozen-lockfile | |
- name: Run all | |
run: | | |
npm run all | |
- name: Compare the expected and actual dist/ directories | |
run: | | |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then | |
echo "Detected uncommitted changes after build. See status below:" | |
git diff | |
exit 1 | |
fi | |
id: diff | |
- uses: cerbos/cerbos-setup-action@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
version: 'latest' | |
- name: Use action | |
uses: ./ | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |