Bump the packages group across 1 directory with 7 updates (#482) #135
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 luau-ast repo | |
uses: actions/checkout@v4 | |
with: | |
path: luau-ast | |
- 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 luau-ast repo | |
run: | | |
cd luau-ast | |
npm install | |
npm run build | |
- name: Setup roblox-ts repo | |
run: | | |
cd roblox-ts | |
foreman install | |
npm install | |
npm install --install-links ../luau-ast | |
npm run update-test-types | |
- name: Run Tests | |
run: | | |
cd roblox-ts | |
npm test |