Skip to content

Improved installation script. #31

Improved installation script.

Improved installation script. #31

Workflow file for this run

name: CI
on:
merge_group:
push:
branches: [main]
pull_request:
branches: ["*"]
jobs:
test:
name: Test
runs-on: macos-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install cairo
run: |
# Removes the "export " from the last line from the script's output and then exports it.
# Directly using the string and passing it to `eval` may create a security vulnerability, that is why we sanitize it first.
output=$(./build/installer.sh latest)
export $(echo $output | tail -n 1 | sed 's/^export //')
- name: Use node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install txm
run: npm install -g txm
- name: Test with txm
run: |
make test