chore(dev): Bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.18.0 #3058
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events on master and beta branch | |
push: | |
branches: [ master, beta ] | |
pull_request: | |
branches: [ master, beta ] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 19.x, 20.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Generate release notes | |
if: ${{ github.event_name == 'pull_request' }} | |
id: release-notes-preview | |
uses: guilhermetod/[email protected] | |
- name: Comment release notes preview | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: peter-evans/create-or-update-comment@v2 | |
continue-on-error: true | |
with: | |
issue-number: ${{ github.event.number }} | |
body: ${{ steps.release-notes-preview.outputs.releaseNotes }} | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test:ci | |
- name: Upload Coverage report | |
uses: codecov/codecov-action@v3 | |
with: | |
directory: ./coverage # optional | |
flags: unittests # optional | |
verbose: true # optional (default = false) | |
- name: Release | |
if: ${{ github.event_name == 'push' }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release |