Skip to content

ci: build all on ci/** #4

ci: build all on ci/**

ci: build all on ci/** #4

Workflow file for this run

name: CI
on:
push:
branches: ['ci/**']
pull_request:
branches: ['main']
workflow_dispatch:
jobs:
build:
strategy:
matrix:
include:
- NodeVersion: 20.9.x
NodeVersionDisplayName: 20
OS: ubuntu-latest
name: Node.js v${{ matrix.NodeVersionDisplayName }} (${{ matrix.OS }})
runs-on: ${{ matrix.OS }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Git config user
uses: snow-actions/[email protected]
with:
name: mocayo
email: [email protected]
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.NodeVersion }}
- name: Cache
uses: actions/cache@v4
with:
path: |
common/temp/pnpm-local
common/temp/pnpm-store
common/temp/install-run
key: ${{ runner.os }}-rush-store-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-rush-store-main
${{ runner.os }}-rush-store
- name: Install Dependencies
run: node common/scripts/install-run-rush.js install
- name: Rush rebuild
run: node common/scripts/install-run-rush.js rebuild --verbose --timeline