Oops: add Yalc #86
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: CI | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
workspace-ci: | |
name: Workspace CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 19.x, 20.x, 21.x] | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/reusable-workflows/setup-repo | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Check for a changelog entry | |
if: ${{ github.ref != 'refs/heads/prepare-release' && github.actor != 'dependabot[bot]' }} | |
run: | | |
pnpm run changelog:status:ci | |
- name: Run CI checks | |
run: | | |
pnpm run all:ci | |
- name: Report test coverage to coveralls.io | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ github.token }} | |
package-ci: | |
name: Package CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package-name: [limited-cache] | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/reusable-workflows/setup-repo | |
with: | |
node-version: latest | |
- name: Run CI checks for package | |
run: | | |
cd packages/${{ matrix.package-name }} | |
pnpm run all:ci | |
demo-ci: | |
name: Demo CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
demo-name: [vite-react-app] | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/reusable-workflows/setup-repo | |
with: | |
node-version: latest | |
use-lockfile: false | |
- name: Run CI checks for demo | |
run: | | |
cd demos/${{ matrix.demo-name }} | |
pnpm run all:ci |