Bump @typescript-eslint/eslint-plugin from 5.62.0 to 8.13.0 #3956
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 | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project source | |
uses: actions/[email protected] | |
- name: Read Node.js version from .nvmrc | |
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" | |
id: nvmrc | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: ${{steps.nvmrc.outputs.NVMRC}} | |
- name: Cache Node.js modules | |
uses: actions/[email protected] | |
with: | |
path: ~/.npm | |
key: ${{runner.OS}}-node-${{steps.nvmrc.outputs.NVMRC}}-${{hashFiles('**/package-lock.json')}} | |
restore-keys: | | |
${{runner.OS}}-node-${{steps.nvmrc.outputs.NVMRC}} | |
- name: Install Node.js dependencies | |
run: npm ci | |
- name: Run the bash test script | |
run: script/test | |
- name: Cache PowerShell modules | |
id: cache-powershell-modules | |
uses: actions/[email protected] | |
with: | |
path: ~/.local/share/powershell/Modules | |
# Include a date as a manual cache buster if you want to install newer module versions | |
key: ${{runner.os}}-powershell-modules-2023-04-01 | |
- name: Install powershell script analyser | |
if: steps.cache-powershell-modules.outputs.cache-hit != 'true' | |
run: Install-Module -Name PSScriptAnalyzer -Force | |
shell: pwsh | |
- name: Run the powershell test script | |
run: script/test.ps1 | |
shell: pwsh |