Skip to content

ci: fix aftman version #120

ci: fix aftman version

ci: fix aftman version #120

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.4
- name: Install Aftman
uses: ok-nick/[email protected]
- name: Install dependencies
run: |
wally install
pnpm install
- name: Generate sourcemap.json
run: rojo sourcemap default.project.json -o sourcemap.json
- name: Download global Roblox types
run: curl -o scripts/roblox.d.lua https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/globalTypes.d.lua
- name: Analyze
run: luau-lsp analyze --defs=scripts/testez.d.lua --defs=scripts/roblox.d.lua --sourcemap=sourcemap.json --ignore="**/_Index/**" --no-strict-dm-types src
- name: Check code quality
run: |
selene src
stylua --check src
pnpm eslint src
pnpm eslint test/src
- name: Build model
run: rojo build -o reflex.rbxm