Skip to content

chg: 🔧 ox migration #1060

chg: 🔧 ox migration

chg: 🔧 ox migration #1060

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
permissions:
contents: read
statuses: write
security-events: write
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Enable Corepack (use Yarn 4.12.0)
run: |
corepack enable
corepack prepare yarn@4.12.0 --activate
yarn --version
- name: Install dependencies
run: yarn install --immutable
- name: Build project
run: yarn build
- name: Test
run: yarn test --coverage
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}