Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hanakla committed Nov 11, 2023
1 parent 33e6635 commit 7d97791
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,26 @@ name: CI
on: [push]

jobs:
setup-and-build:
strategy:
matrix:
node-version: [20.x]
os: [ubuntu-latest]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}

- uses: ./.github/actions/building

testing:
needs: setup-and-build
strategy:
matrix:
os: [ubuntu-latest]
Expand Down Expand Up @@ -35,6 +54,7 @@ jobs:
yarn test
bundle-size:
needs: setup-and-build
strategy:
matrix:
os: [ubuntu-latest]
Expand All @@ -57,20 +77,3 @@ jobs:
pattern: './pkgs/core/dist/*.{js,mjs}'
exclude: './pkgs/core/dist/*-*.{js,mjs}'

build:
strategy:
matrix:
node-version: [20.x]
os: [ubuntu-latest]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}

- uses: ./.github/actions/building

0 comments on commit 7d97791

Please sign in to comment.