ci: fix fluentci cli install #228
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
# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions | |
name: lint and test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Fluent CI | |
uses: fluentci-io/setup-fluentci@v5 | |
- name: Run tests | |
run: | | |
deno install -A -g -f -r --unstable-kv https://github.com/fluentci-io/fluentci/raw/refs/heads/main/main.ts -n fluentci | |
fluentci run --wasm fmt | |
fluentci run --wasm lint | |
fluentci run --wasm test | |
fluentci run --wasm coverage | |
- name: Upload to Codecov | |
run: fluentci run --wasm codecov upload | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |