ci: add deno compile #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup FluentCI | |
uses: fluentci-io/setup-fluentci@v5 | |
- name: deno test | |
run: | | |
fluentci run --wasm postgres start | |
fluentci run --wasm deno task test | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NIX_CONFIG: "extra-access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}" | |
POSTGRES_USER: postgres | |
POSTGRES_DB: demo | |
- name: deno compile | |
run: | | |
fluentci run --wasm deno compile -A --target x86_64-unknown-linux-gnu --output=app main.ts |