chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.18.0 to 8.3.0 #71
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: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
statuses: write | |
issues: read | |
checks: write | |
pull-requests: write | |
jobs: | |
test-typescript: | |
name: TypeScript Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
id: setup-node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- name: Install Dependencies | |
id: npm-ci | |
run: npm ci | |
- name: Check Format | |
id: npm-format-check | |
run: npm run format:check | |
- name: Lint | |
id: npm-lint | |
run: npm run lint | |
- name: Test | |
id: npm-ci-test | |
run: npm run ci-test | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
check_name: Test Results JS | |
files: | | |
.reports/**/*.xml | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: js-results | |
path: | | |
reports/* | |
coverage/* | |
- name: Code Coverage Summary Report | |
uses: irongut/CodeCoverageSummary@v1.3.0 | |
with: | |
filename: ./coverage/*.xml | |
badge: true | |
format: markdown | |
output: both | |
- name: Add Coverage PR Comment | |
uses: marocchino/sticky-pull-request-comment@v2 | |
if: github.event_name == 'pull_request' | |
with: | |
recreate: true | |
path: code-coverage-results.md | |
- name: Add Coverage Summary | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const fs = require('fs'); | |
// read summary file | |
var summary = fs.readFileSync('code-coverage-results.md', 'utf8'); | |
await core.summary | |
.addHeading('JS Code Coverage Summary') | |
.addRaw(summary) | |
.write() | |
test-action: | |
name: GitHub Actions Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Test Local Action | |
id: test-action | |
uses: ./ | |
with: | |
ado-pat: 'pat' | |
ado-org: 'org' | |
ado-project: 'project' | |
release-id: '153406354' | |
- name: Print Output | |
id: output | |
run: echo "${{ steps.test-action.outputs.workItems }}" |