Add CA rotation guide #41
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# Cancel in-progress workflows on the same branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Typecheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install node and npm | |
uses: volta-cli/action@v4 | |
with: | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Typecheck | |
run: npm run typecheck | |
format: | |
name: Check prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install node and npm | |
uses: volta-cli/action@v4 | |
with: | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Check formatting | |
run: npm run format:check | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install node and npm | |
uses: volta-cli/action@v4 | |
with: | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Test | |
run: npm run test |