build(deps): bump axios from 0.21.2 to 1.6.0 #60
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 Workflow | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
paths: | |
- ".github/workflows/ci.yml" | |
- "src/**" | |
- "tests/**" | |
- "package.json" | |
- "yarn.lock" | |
- "tsconfig*" | |
pull_request: | |
branches: | |
- master | |
- develop | |
paths: | |
- ".github/workflows/ci.yml" | |
- "src/**" | |
- "tests/**" | |
- "package.json" | |
- "yarn.lock" | |
- "tsconfig*" | |
jobs: | |
code_analysis: | |
name: "Code Analysis" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repository on branch ${{ github.ref }}" | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
- name: Install packages | |
run: yarn | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
shell: bash | |
run: | | |
yarn test:ci | |
- name: Build | |
run: | | |
yarn build | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |