Skip to content

refactor(PE-1271): extract early-start lead time into EARLY_START_LEA… #466

refactor(PE-1271): extract early-start lead time into EARLY_START_LEA…

refactor(PE-1271): extract early-start lead time into EARLY_START_LEA… #466

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
install_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['14.17.6', '18']
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Fetch latest main branch commit
run: git fetch --no-tags --depth=1 origin +refs/heads/main:refs/remotes/origin/main
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile --ignore-engines ${{ matrix.node-version == '14.17.6' && '--ignore-scripts' || '' }}
- run: node ./scripts/workspace_actions.js test
format_all:
runs-on: ubuntu-latest
needs: install_and_test
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Fetch latest main branch commit
run: git fetch --no-tags --depth=1 origin +refs/heads/main:refs/remotes/origin/main
- name: Use Node.js
uses: actions/setup-node@v5
with:
node-version: '18'
cache: 'yarn'
- run: yarn --frozen-lockfile --ignore-engines
- run: node ./scripts/workspace_actions.js format
- name: Commit formatting changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Applied automatic formatting changes
branch: ${{ github.head_ref }}