Skip to content

ci: update workflows #236

ci: update workflows

ci: update workflows #236

Workflow file for this run

# 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 deno fmt
fluentci run --wasm deno lint
fluentci run --wasm deno test
fluentci run --wasm deno coverage
# - name: Upload to Codecov
# run: fluentci run --wasm codecov upload
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}