Skip to content

chore(deps): update typescript-eslint monorepo to v8 (major) #4020

chore(deps): update typescript-eslint monorepo to v8 (major)

chore(deps): update typescript-eslint monorepo to v8 (major) #4020

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
types: [ opened, synchronize ]
permissions:
contents: read
jobs:
verify:
if: "!contains(github.event.head_commit.message, 'ci skip')"
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
id-token: write
strategy:
matrix:
node-version: [ 20.x, 22.x, 24.x ]
steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run clean
- run: npm run lint
- run: npm test
env:
CI: true
- name: Qlty
uses: qltysh/qlty-action/coverage@a19242102d17e497f437d7466aa01b528537e899 # v2.2.0
if: matrix.node-version == '20.x'
with:
oidc: true
files: reports/coverage/lcov.info
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22.18.0
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run compile
- uses: actions/upload-artifact@v4
with:
retention-days: 1
name: lib
path: lib
site:
needs: [ verify, build ]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22.18.0
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run doc
- name: Publish website
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
if: github.ref == 'refs/heads/main'
with:
branch: gh-pages
folder: docs
clean: true
release:
needs: [ site ]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22.18.0
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- uses: actions/download-artifact@v5
with:
name: lib
path: lib
- run: npx semantic-release
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}