From a15ae1c1847ba4e19aa2daa727147134528b91d2 Mon Sep 17 00:00:00 2001 From: nzbr Date: Wed, 9 Oct 2024 14:35:18 +0200 Subject: [PATCH] add ci --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7b3a954 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +on: + push: + branches: + - main + + pull_request: + +jobs: + pulumi-preview: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + token: ${{ secrets.GH_PAT }} + + - name: Install nix + uses: cachix/install-nix-action@v30 + + - name: Activate nix shell + uses: lukas-mertens/switch-into-nix-shell@main + + - name: Install node dependencies + working-directory: pulumi-desec + run: pnpm install