update dagger.json #14
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: 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.3 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 query --doc test.gql | |
dagger query --doc build.gql | |
dagger query --doc run.gql | |
dagger call test --src . | |
dagger call build --src . | |
dagger call run --src . --task build | |
working-directory: example |