Skip to content

SharkPools 扩展

SharkPools 扩展 #4

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: SharkPools 扩展
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run SharkPools
run: |
git submodule update --init --recursive
npm run sharkpools
env:
ZEROCAT_TOKEN_SHARKPOOL: ${{ secrets.ZEROCAT_TOKEN_SHARKPOOL }}
ZEROCAT_BACKEND: ${{ vars.ZEROCAT_BACKEND }}