fix(deps): update dependency astro to v5.0.8 [security] (#518) #668
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: Validate Generated Files | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
ValidateReadmes: | |
name: Validate README files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Generate code | |
run: yarn inject-readme-markdown | |
- name: Format files | |
run: yarn format | |
- name: Validate changes | |
run: | | |
git status | |
if ! git diff-index --quiet HEAD --; then | |
echo "::error file=README.md::File did not match generated file after script. Please review and adjust accordingly." | |
exit 1; | |
fi | |
ValidateExports: | |
name: Validate core exports and side effects | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Generate code | |
run: yarn inject-package-exports | |
- name: Format files | |
run: yarn format | |
- name: Validate changes | |
run: | | |
git status | |
if ! git diff-index --quiet HEAD --; then | |
echo "::error file=packages/core/package.json::File did not match generated file after script. Please review and adjust accordingly." | |
exit 1; | |
fi | |
ValidateCoreIndexReExports: | |
name: Validate core index.ts re-exports | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Generate code | |
run: yarn inject-core-index-re-exports | |
- name: Format files | |
run: yarn format | |
- name: Validate changes | |
run: | | |
git status | |
if ! git diff-index --quiet HEAD --; then | |
echo "::error file=packages/core/src/index.ts::File did not match generated file after script. Please review and adjust accordingly." | |
exit 1; | |
fi | |
ValidateReactIndexExports: | |
name: Validate react index.ts exports | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Generate code | |
run: yarn inject-react-index-exports | |
- name: Format files | |
run: yarn format | |
- name: Validate changes | |
run: | | |
git status | |
if ! git diff-index --quiet HEAD --; then | |
echo "::error file=packages/react/src/index.ts::File did not match generated file after script. Please review and adjust accordingly." | |
exit 1; | |
fi |