deps(dev): update jamesives/github-pages-deploy-action action to v4.7.2 #3795
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: Code Analysis | |
permissions: | |
security-events: write | |
# Events that trigger this workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: | |
- main | |
workflow_dispatch: | |
schedule: | |
- cron: '26 9 * * 4' | |
# Defines which tool versions should be used in all workflow jobs | |
env: | |
node: '18' | |
pnpm: '7' | |
jobs: | |
codeql-analysis: | |
name: CodeQL | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 📥 | |
uses: actions/[email protected] | |
- name: Setup PNPM 💿 | |
uses: pnpm/[email protected] | |
with: | |
version: ${{ env.pnpm }} | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL 📀 | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: javascript | |
# If you wish to specify custom queries, you can do so here or in a config file. | |
# By default, queries listed here will override any specified in a config file. | |
# Prefix the list here with "+" to use these queries and those in the config file. | |
# queries: ./path/to/local/query, your-org/your-repo/queries@main | |
- name: Setup Node 💿 | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ env.node }} | |
cache: 'pnpm' | |
- name: Install dependencies 📚 | |
run: pnpm install | |
- name: Build packages 📦 | |
run: pnpm build | |
- name: Perform CodeQL Analysis 🔬 | |
uses: github/codeql-action/analyze@v2 |