Skip to content

Install the CodeSee workflow. Learn more at https://docs.codesee.io #21

Install the CodeSee workflow. Learn more at https://docs.codesee.io

Install the CodeSee workflow. Learn more at https://docs.codesee.io #21

Workflow file for this run

# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions
name: Zenith Example
on:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
package_manager: [yarn, npm, bun, pnpm]
steps:
- uses: actions/checkout@v2
- name: Setup Dagger Zenith
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.9.7 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Run Dagger Pipelines
run: |
sed -i 's/npm/${{ matrix.package_manager }}/g' test.gql
sed -i 's/npm/${{ matrix.package_manager }}/g' build.gql
sed -i 's/npm/${{ matrix.package_manager }}/g' run.gql
dagger call test --src . --package-manager ${{ matrix.package_manager }}
dagger call build --src . --package-manager ${{ matrix.package_manager }}
dagger call run --src . --task build --package-manager ${{ matrix.package_manager }}
working-directory: example