Skip to content

Merge latest upstream changes #28

Merge latest upstream changes

Merge latest upstream changes #28

Workflow file for this run

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