Skip to content

Commit

Permalink
Test CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darekkay committed May 22, 2023
1 parent 175118c commit 09c33f0
Showing 1 changed file with 1 addition and 58 deletions.
59 changes: 1 addition & 58 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,64 +9,6 @@ on:
pull_request:

jobs:
# app module
app:
runs-on: ubuntu-latest
name: app-node-${{ matrix.node }}
strategy:
matrix:
node: [ 16, 20 ]
fail-fast: true
defaults:
run:
working-directory: app

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "yarn"

- name: Install dependencies
run: yarn install --pure-lockfile --prefer-offline

- name: Validate
run: yarn ci

- name: Build
run: yarn build

# server module
server:
runs-on: ubuntu-latest
name: server-node-${{ matrix.node }}
strategy:
matrix:
node: [ 16, 20 ]
fail-fast: true
defaults:
run:
working-directory: server

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "yarn"

- name: Install dependencies
run: yarn install --pure-lockfile --prefer-offline

- name: Validate
run: yarn ci

# docs module
docs:
Expand All @@ -89,6 +31,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: "yarn"
cache-dependency-path: "app"

- name: Install dependencies
run: yarn install --pure-lockfile --prefer-offline
Expand Down

0 comments on commit 09c33f0

Please sign in to comment.