Skip to content

build: put everything in one step #5

build: put everything in one step

build: put everything in one step #5

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Tests
run: |
curl -sSf https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | bash
npm i
npm test | Tee-Object -file test-output.txt;
$output = Get-Content -Path main-test-output.txt;
if ($output -notmatch 'Failed: [^0]') {
exit 0
} else {
exit 1
}