Remove list of all securities #2429
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] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
# pnpm has to be installed before node to make use of caching | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
cache: pnpm | |
cache-dependency-path: pnpm-lock.yaml | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm lint | |
- run: pnpm prepare | |
- run: pnpm typecheck | |
- run: pnpm generate | |
- name: Check if 200.html exists | |
run: | | |
if [ ! -f "dist/200.html" ]; then | |
echo "200.html does not exist." | |
exit 1 | |
fi | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
external_repository: portfolio-report/pr-www-pages | |
publish_dir: ./dist |