Skip to content

update README

update README #4

Workflow file for this run

name: CI
on: [push, workflow_dispatch]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install local npm packages
run: npm i --production=false
- name: run eslint
run: npm run eslint
unit-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: download roblox install script
run: Invoke-WebRequest -Uri "https://raw.githubusercontent.com/OrbitalOwen/roblox-win-installer/master/install.py" -OutFile install.py
- name: download settings file
run: Invoke-WebRequest -Uri "https://raw.githubusercontent.com/OrbitalOwen/roblox-win-installer/master/GlobalSettings_13.xml" -OutFile GlobalSettings_13.xml
- name: install pip deps
run: pip install wget psutil
- name: install roblox
run: python install.py "${{ secrets.ROBLOSECURITY }}"
- name: install roblox-ts
run: npm i -g roblox-ts
- name: install local npm packages
run: npm i --production=false
- name: compile typescript code
run: rbxtsc --type=game
- name: install foreman
uses: rojo-rbx/setup-foreman@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: install foreman packages (rojo, run-in-roblox)
run: foreman install
- name: run rojo build
run: rojo build -o .\\unit_tests.rbxlx
- name: run tests
run: run-in-roblox --place .\\unit_tests.rbxlx --script .\\spec.server.lua