⬆️ Run npx biome migrate --write to bump 'biome.json' from …
#492
This file contains hidden or 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
| jobs: | |
| example: | |
| name: Run an example on Node.js ${{ matrix.node }} | |
| outputs: | |
| result: ${{ steps.example.outputs.result }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: | |
| - 20 | |
| - 22 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Upgrade npm | |
| run: npm install npm@latest -g | |
| - name: Setup modules | |
| run: npm ci | |
| - id: example | |
| name: Run an example | |
| run: npm start | |
| name: Example | |
| on: | |
| push: | |
| branches: | |
| - main |