-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (40 loc) · 1.01 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions
name: ci
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
with:
wasm: true
pipeline: deno
args: |
fmt
test
coverage
- name: Run Dagger Pipelines
run: |
dagger -m github.com/fluent-ci-templates/terraform-pipeline@main functions
- name: Upload to Codecov
run: fluentci run --wasm codecov upload
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
publish:
needs: tests
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.41
- name: Publish package
run: deno publish --allow-slow-types