Rename ip urls to server #663
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: Analysis | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
name: 'Lint' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Use Node.js 20.x | |
uses: actions/[email protected] | |
with: | |
node-version: 20.x | |
cache: yarn | |
- name: Install | |
run: yarn install --immutable | |
- name: Lint | |
continue-on-error: true | |
run: yarn next lint -f @microsoft/sarif -o eslint-results.sarif | |
- name: Upload analysis results to GitHub | |
uses: github/codeql-action/[email protected] | |
with: | |
sarif_file: eslint-results.sarif | |
wait-for-processing: true | |
unit-tests: | |
name: 'Unit tests' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Use Node.js 20.x | |
uses: actions/[email protected] | |
with: | |
node-version: 20.x | |
cache: yarn | |
- name: Install | |
run: yarn install --immutable | |
- name: Run tests | |
run: yarn test --coverage | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload test results to Codecov | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@v1 | |
with: | |
files: junit-report.xml | |
token: ${{ secrets.CODECOV_TOKEN }} |