Skip to content

Merge branch 'beta' #551

Merge branch 'beta'

Merge branch 'beta' #551

Workflow file for this run

name: Test
on:
pull_request:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '20', '21' ]
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
- run: yarn install --immutable
- run: yarn qa
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
validateBundling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- run: npm i -g @arethetypeswrong/cli
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn
- run: yarn install --immutable
- run: attw --pack .
release:
needs:
- test
- validateBundling
uses: ./.github/workflows/release.yaml
secrets: inherit