Add support for emitting .luau
files
#10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: UnitTests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout path-translator repo | |
uses: actions/checkout@v4 | |
with: | |
path: path-translator | |
- name: Checkout roblox-ts repo | |
uses: actions/checkout@v4 | |
with: | |
repository: roblox-ts/roblox-ts | |
path: roblox-ts | |
- name: Install Foreman | |
uses: Roblox/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup path-translator repo | |
run: | | |
cd path-translator | |
npm install | |
npm run build | |
- name: Setup roblox-ts repo | |
run: | | |
cd roblox-ts | |
foreman install | |
npm install | |
npm install --install-links ../path-translator | |
npm run update-test-types | |
- name: Run Tests | |
run: | | |
cd roblox-ts | |
npm test |