docs(workspace): improved documentation with AI #3
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: Branch validation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
install: | |
name: Branch validation | |
runs-on: macos-latest | |
permissions: | |
packages: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout | |
with: | |
ref: ${{github.event.ref}} | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
name: Setup node | |
with: | |
node-version: 18.14.2 | |
registry-url: https://registry.npmjs.org/ | |
- run: npm i bun -g | |
name: Install bun | |
- run: bun install --frozen-lockfile | |
name: Install dependencies | |
- run: | | |
echo "Bun version: $(bun -v)" | |
echo "NodeJS version: $(node -v)" | |
echo "NPM version: $(npm -v)" | |
name: Display versions | |
- run: bun run format | |
name: Format code | |
- run: bun run lint | |
name: Lint code |