Skip to content

Complete Task 1: Platform Switch for Gitee and Github Rankings #24

Complete Task 1: Platform Switch for Gitee and Github Rankings

Complete Task 1: Platform Switch for Gitee and Github Rankings #24

Workflow file for this run

# build.yml
# checks and test build on pull request to master branch
name: build
on:
pull_request:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: |
pnpm i --frozen-lockfile
- name: Code Format checks
run: |
pnpm run prettier:check
- name: Build
run: |
pnpm build
env:
CI: false