Fix no test found message #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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Roblox/setup-foreman@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Enable corepack | |
run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "latest" | |
cache: "yarn" | |
cache-dependency-path: "yarn.lock" | |
- name: Install packages | |
run: yarn install --immutable | |
- name: Run npmluau | |
run: yarn run prepare | |
- name: Run linter | |
run: yarn run lint | |
- name: Verify code style | |
run: yarn run style-check | |
- name: Build assets | |
run: yarn run build-assets | |
# roblox-test: | |
# name: Run tests on Roblox | |
# runs-on: windows-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: Roblox/setup-foreman@v1 | |
# with: | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Enable corepack | |
# run: corepack enable | |
# - uses: actions/setup-node@v3 | |
# with: | |
# node-version: "latest" | |
# cache: "yarn" | |
# cache-dependency-path: "yarn.lock" | |
# - name: Install packages | |
# run: yarn install --immutable | |
# - name: Run npmluau | |
# run: yarn run prepare | |
# - name: Run tests | |
# run: yarn run test:roblox |