Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
refactor: finalize new working workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Dec 22, 2023
1 parent b36b991 commit 6e6bfa2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
node-version: ${{ matrix.node }}
- run: yarn install --frozen-lockfile --check-files
- run: yarn lint --max-warnings=0
build:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -38,7 +38,7 @@ jobs:
# webpack-config,
xdl,
]
name: Build & Test ${{ matrix.package }} on Node ${{ matrix.node }}
name: Test ${{ matrix.package }} on Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
with:
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
types: [opened, synchronize]
jobs:
build:
lint:
runs-on: windows-latest
strategy:
matrix:
Expand All @@ -20,17 +20,9 @@ jobs:
with:
node-version: ${{ matrix.node }}
- run: yarn install --frozen-lockfile --network-timeout 120000
- run: yarn lerna run prepare --stream
- run: yarn lint --max-warnings=0
- uses: actions/cache@v2
with:
key: v2-${{ github.sha }}-${{ matrix.node }}
path: |
'*'
!node_modules
test:
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
Expand All @@ -47,16 +39,17 @@ jobs:
]
name: Test ${{ matrix.package }} on Node ${{ matrix.node }}
steps:
- uses: actions/cache@v2
- uses: actions/checkout@v3
with:
path: '*'
key: v2-${{ github.sha }}-${{ matrix.node }}
fetch-depth: 1
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install packages
run: yarn install --frozen-lockfile --check-files
- name: Build packages
run: yarn lerna run prepare --stream
- name: Test ${{ matrix.package }}
working-directory: packages/${{ matrix.package }}
run: yarn test
Expand Down

0 comments on commit 6e6bfa2

Please sign in to comment.