Bump @types/node from 22.8.7 to 22.9.0 in /generator (#3262) #19704
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
schema-tests: | |
name: Schema Tests | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: javascript, csharp | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Install NPM modules | |
run: npm ci | |
working-directory: ./tools | |
- name: Lint | |
run: npm run lint | |
working-directory: ./tools | |
- name: Run CI tests | |
run: npm test | |
working-directory: ./tools | |
- name: Deployments Schema tests | |
run: dotnet test DeploymentsSchemaTests/DeploymentsSchemaTests.csproj | |
working-directory: ./tools | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
build-generator: | |
name: Build Generator | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: javascript | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install | |
run: npm ci | |
working-directory: ./generator | |
- name: Lint | |
run: npm run lint | |
working-directory: ./generator | |
- name: Build | |
run: npm run build | |
working-directory: ./generator | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |