Skip to content

CI

CI #1128

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * *'
jobs:
node18:
name: Node 18
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: checkout node
uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm install -g pnpm@latest
- run: pnpm install
- run: pnpm run build
- run: TZ=Europe/Zurich pnpm test -- --coverage
node20:
name: Node 20
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: checkout node
uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install -g pnpm@latest
- run: pnpm install
- run: pnpm run build
- run: TZ=Europe/Zurich pnpm test -- --coverage
- name: coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: sonarcloud.io
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}