Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: playground

Check failure on line 1 in .github/workflows/playground.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/playground.yaml

Invalid workflow file

(Line: 2, Col: 11): Unrecognized named-value: 'gitea'. Located at position 1 within expression: gitea.actor
run-name: ${{ gitea.actor }} build and run tree-sitter-objectscript on rdp.iscinternal.com 🚀
on: [push]
jobs:
RDP-Playground:
# MUST Use rdp_metal to make sure the action picks a runner that is on the rdp node, not a docker image
# You should NOT use this in general for CI. Prefer the runner daemon on docker
# See ci.yaml for our main workflow
runs-on: rdp_metal
steps:
- run: printenv
- run: id
- name: Check out repository code
uses: actions/checkout@v4
- run: npm install
- run: npm run gen --workspace=udl
- run: npm run build-wasm --workspace=udl
- run: systemctl --user stop ts-playground.service
- run: mkdir -p /home/act_runner/ts-playground
- run: mkdir -p /home/act_runner/ts-playground/src
- run: cp udl/tree-sitter-objectscript_udl.wasm /home/act_runner/ts-playground
- run: cp udl/src/grammar.json /home/act_runner/ts-playground/src
- run: systemctl --user start ts-playground.service