Skip to content

build(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.10.0 to 6.20.0 #149

build(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.10.0 to 6.20.0

build(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.10.0 to 6.20.0 #149

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
- develop
- 'run-ci/**'
pull_request:
branches: [ master, develop, test-pr ]
types: [opened, synchronize, reopened, labeled]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
NODE_ENV: test
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# == verify changelog has been updated ==
- name: Check changelog updated
uses: mangrovedao/.github/.github/actions/changelog-updated@master
- name: Yarn setup (caching yarn dependencies)
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'yarn'
- run: yarn install --immutable
- name: Build
id: build
run: yarn run build
# == run and upload test result (reporter run in separate workflow) ==
- name: Test
run: yarn run test:coverage
- uses: actions/upload-artifact@v3
if: ${{ steps.build.conclusion == 'success' && (success() || failure())}}
with:
name: test-results
path: ./coverage-tests-report.json
# == Send coverage report to Coveralls ==
# Coverallsapp by default uses GITHUB_SHA but that does not necessarily correspond
# to HEAD because a branch is checked out. We here find the actual SHA for HEAD.
- name: Set Coveralls vars
id: coveralls_vars
if: github.event_name != 'pull_request'
run: echo "::set-output name=sha_for_head::$(git rev-parse HEAD)"
- name: Upload to Coveralls for context-addresses
uses: coverallsapp/github-action@master
if: github.event_name != 'pull_request'
with:
git-commit: ${{ steps.coveralls_vars.outputs.sha_for_head }}
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
base-path : .
flag-name: js