684d86a17e
* (broken) finished new item system, working on fixing logic in Slots * new item infrastructure, accurate durability transfer * Delete build directory * style issues
43 lines
955 B
YAML
43 lines
955 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
|
|
jobs:
|
|
work:
|
|
name: Lint, Test, Build, Deploy
|
|
#
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup | Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Setup | just
|
|
uses: extractions/setup-just@v1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Setup | Python 3.10
|
|
uses: actions/setup-python@v3.0.0
|
|
with:
|
|
python-version: '3.10'
|
|
- name: Setup | toml, pyyaml, pylint, pylint-quotes
|
|
uses: BSFishy/pip-action@v1
|
|
with:
|
|
packages: |
|
|
pylint
|
|
pylint-quotes
|
|
|
|
- name: Setup | Node Install
|
|
run: npm ci
|
|
- name: Lint
|
|
run: just lint --verbose
|
|
- name: Test (WIP)
|
|
run: npm run test-all -- --watchAll=false
|
|
- name: Build
|
|
run: npm run build
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@v4.2.5
|
|
with:
|
|
branch: prod
|
|
folder: build
|