Fix hex certificate import (#228) #356
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: Main CI | |
on: [workflow_dispatch, push] | |
jobs: | |
tests_checks_build_deploy: | |
runs-on: ubuntu-latest | |
name: Tests, checks, build | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
name: Setup node | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run linter | |
run: yarn lint | |
- name: Run tests | |
run: yarn test:ci | |
- name: Run build | |
run: yarn build | |
- name: Deploy to gh-pages | |
if: github.ref == 'refs/heads/main' | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist |