feat: add link to JavaJAM state transition vectors (#14) #20
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: Build Check | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
# Add more Node.js versions if needed | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Forbid localhost links | |
run: | | |
if grep -r "localhost:3000" docs/; then | |
echo "Error: Found localhost:3000 in the codebase. Please remove hardcoded development URLs." | |
grep -r "localhost:3000" docs/ | |
exit 1 | |
else | |
echo "No localhost:3000 references found." | |
fi | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: | | |
yarn install --frozen-lockfile | |
- name: Build project | |
run: | | |
bash build.sh |