This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
feat: SSR as it should be #112
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 | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: read | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Set node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
- name: Setup | |
run: npm i -g @antfu/ni | |
- name: Install | |
run: nci | |
- uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'src/**' | |
- 'package.json' | |
- 'pnpm-lock.yaml' | |
# - name: Lint | |
# run: nr lint | |
- name: Build | |
run: nr build | |
- name: Relase Edge | |
run: | | |
chmod +x ./scripts/release-edge.sh | |
./scripts/release-edge.sh | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} |