Skip to content

v2.5.0

v2.5.0 #247

Workflow file for this run

name: Continuous testing
on: [pull_request]
jobs:
test:
strategy:
matrix:
command: [lint, build, test, "cli '.github/review-bot.yml'"]
runs-on: ubuntu-latest
name: running ${{ matrix.command }}
timeout-minutes: 5
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 20
- name: Cache node modules
id: cache-npm
uses: actions/[email protected]
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install dependencies
run: yarn install --immutable
- run: yarn run ${{ matrix.command }}
conclude:
runs-on: ubuntu-latest
name: All tests passed
needs: [test]
steps:
- run: echo '### Good job! All the tests passed 🚀' >> $GITHUB_STEP_SUMMARY