trillium/.forgejo/workflows/test.yaml

17 lines
492 B
YAML
Raw Permalink Normal View History

2024-05-22 11:11:55 +00:00
on: [push]
jobs:
build:
runs-on: node-16
steps:
- uses: https://github.com/actions/checkout@v4
- uses: https://github.com/oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
2024-05-22 11:21:27 +00:00
run: bun install --frozen-lockfile\
- run: apt-get -y update
2024-05-22 11:20:53 +00:00
- run: apt-get -y install dos2unix
- name: Fix fta-cli
2024-05-22 11:20:19 +00:00
run: dos2unix ./node_modules/fta-cli/index.js
2024-05-22 11:11:55 +00:00
- name: Run CI script
run: bun run ci