Skip to content

chore(deps): update typescript-eslint monorepo to v7.0.2 #50

chore(deps): update typescript-eslint monorepo to v7.0.2

chore(deps): update typescript-eslint monorepo to v7.0.2 #50

Workflow file for this run

name: CI
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup C++ Environment
uses: aminya/setup-cpp@v1
with:
compiler: llvm
cmake: true
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
check-latest: true
- name: Setup Emscripten
uses: mymindstorm/setup-emsdk@v14
- name: Install Linux Dependencies
run: sudo apt install libboost-graph-dev uuid-dev
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install npm dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Format
run: npm run format
- name: Build
run: npm run build
- name: Test with coverage
run: npm run coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
slug: elmouradiaminedev/diagonjs
- name: Publish Artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
release:
runs-on: ubuntu-latest
needs: [build]
if: ${{ !contains(github.event.head_commit.message , 'skip-release') && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install npm dependencies
run: npm install
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: dist
path: dist
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}