Skip to content

what in the world

what in the world #14

Workflow file for this run

name: Windows Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.18.1'
- name: Cache Yarn
uses: actions/cache@v3
with:
path: |
~/.npm
~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Yarn
run: npm install -g yarn && yarn config set ignore-engines true
- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Install dependencies
run: yarn install
- name: Run build script
run: .\build.bat
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*.exe