build(deps): bump next from 13.1.1 to 13.5.0 #23
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: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- reopened | |
workflow_dispatch: | |
jobs: | |
# test: | |
# timeout-minutes: 5 | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: '鈽侊笍 checkout repository' | |
# uses: actions/checkout@v2 | |
# - name: '馃敡 setup node' | |
# uses: actions/setup-node@v2 | |
# with: | |
# node-version: '16.x' | |
# - name: '馃敡 install pnpm@latest' | |
# run: npm i -g pnpm | |
# - name: '馃摝 Install dependencies' | |
# run: pnpm install | |
# - name: '馃敡 Install Playwright Browsers' | |
# run: npx playwright install --with-deps | |
# - name: '馃攳 Run Playwright tests' | |
# run: xvfb-run --auto-servernum -- pnpm test | |
# - uses: actions/upload-artifact@v3 | |
# if: always() | |
# with: | |
# name: playwright-report | |
# path: playwright-report/ | |
# retention-days: 30 | |
lint: | |
name: Lint application | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: '鈽侊笍 checkout repository' | |
uses: actions/checkout@v3 | |
- name: '馃敡 setup node' | |
uses: actions/setup-node@v3.5.1 | |
with: | |
node-version: '16.x' | |
- name: '馃敡 install pnpm@latest' | |
run: npm i -g pnpm | |
- name: '馃摝 install dependencies' | |
run: pnpm install | |
- name: '馃攳 lint code' | |
run: pnpm lint | |
# exclude build step for now because of missing envs | |
# - name: '馃摝 build application' | |
# run: pnpm build | |
build: | |
name: Build Repo Visualizer | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: '鈽侊笍 checkout repository' | |
uses: actions/checkout@v3 | |
- name: '馃敡 setup node' | |
uses: actions/setup-node@v3.5.1 | |
with: | |
node-version: '16.x' | |
- name: '馃敡 install pnpm@latest' | |
run: npm i -g pnpm | |
- name: '馃摝 install dependencies' | |
run: pnpm install | |
- name: '馃搳 repository visualizer' | |
id: diagram | |
uses: githubocto/repo-visualizer@0.8.2 | |
with: | |
excluded_paths: 'node_modules,build,.vercel,.github,.husky' | |
output_file: 'public/diagram.svg' | |
should_push: false | |
root_path: 'src/' | |
- name: '馃搳 visualizer artifacts' | |
uses: actions/upload-artifact@v2 | |
with: | |
name: diagram | |
path: public/diagram.svg |