Skip to content

Guild Lottery

Guild Lottery #19

Workflow file for this run

name: Guild Lottery
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./guild-lottery
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: './guild-lottery/package-lock.json'
- name: Install dependencies
run: npm ci
- name: Run Lottery
run: npm run lottery --if-present