Skip to content

提名投票

提名投票 #11

Workflow file for this run

name: Blood
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Build Go
run: |
export GO111MODULE=on
go build -v .server/...
# - name: Test Go
# run: go test -v ./...
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: client/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: client
- name: Build Node
run: npm run build
working-directory: client
# - name: Test Node
# run: npm test
# working-directory: client