Release v1.4.4 #321
Workflow file for this run
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: Test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
permissions: | |
contents: read | |
pull-requests: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check_test_execution_conditions: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: xt0rted/block-autosquash-commits-action@v2 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
needs: | |
- check_test_execution_conditions | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20.12.2" | |
- run: yarn install | |
- run: yarn run lint | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
node: | |
- "18.12.0" | |
- "18.19.0" | |
- "20.11.0" | |
needs: | |
- check_test_execution_conditions | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: yarn install | |
- run: yarn run test | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
needs: | |
- check_test_execution_conditions | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20.12.2" | |
- run: yarn install | |
- run: yarn run build | |
env: | |
NODE_ENV: "production" |