feat: add wasm plugin #28
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: Example | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Service Account | |
run: | | |
echo $GCP_SERVICE_ACCOUNT > fluentci-086b644d4c53.json | |
env: | |
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} | |
working-directory: example | |
- name: Setup Fluent CI CLI | |
uses: fluentci-io/setup-fluentci@v5 | |
with: | |
wasm: true | |
plugin: bun | |
args: install | |
working-directory: example | |
- name: Run Wasm Plugin | |
run: | | |
fluentci run --wasm . preview --stack dev | |
fluentci run --wasm . up --stack dev | |
working-directory: example | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: ./fluentci-086b644d4c53.json | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | |
- name: Run Dagger Pipelines | |
run: dagger run deno run -A ../src/dagger/runner.ts preview | |
working-directory: example | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: ./fluentci-086b644d4c53.json | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | |
PULUMI_STACK: dev |