Skip to content

release: v1.0.0

release: v1.0.0 #32

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: pnpm install
- run: pnpm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- name: Set Timezone
run: sudo timedatectl set-timezone "Asia/Shanghai"
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- name: Fetch Captain
uses: ./
with:
ruid: '477317922'
roomid: '21672023'
output: './data/YYYY/MM/DD.csv'
- uses: actions/upload-artifact@v4
with:
name: data
path: data/