Skip to content

Sdtt 345 create a monorepo setup for the ci scripts of the oslo toolchain #13

Sdtt 345 create a monorepo setup for the ci scripts of the oslo toolchain

Sdtt 345 create a monorepo setup for the ci scripts of the oslo toolchain #13

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version::
- 20.x
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Check out repository
uses: actions/checkout@v4
- name: Install dependencies
run: yarn install
- name: Build project
run: yarn run build
- name: Run tests
run: npm run test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: 20.x
- run: yarn install
- run: npm run lint