Skip to content

build: move from aftman to rokit #171

build: move from aftman to rokit

build: move from aftman to rokit #171

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- develop
permissions:
contents: write
packages: write
env:
CI: true
HUSKY: 0
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Setup Rokit
run: |
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | sh
- name: Lint
run: |
pnpm lint
- name: Compile
run: pnpm build-prod
- name: Build project
run: rojo build ./build.project.json --output place.rbxlx