Skip to content

Commit

Permalink
ci(check-pulumi-ts): Init
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Aug 27, 2023
1 parent 5fe0a11 commit 218c64e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/check-pulumi-ts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Check pulumi-ts

on:
push:
paths:
- pulumi-ts/**
- .github/workflows/check-pulumi-ts.yml
workflow_dispatch:

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
path: ./tmp
- run: nix flake new -t ./tmp#pulumi-ts ./work
- name: Prepare the project
working-directory: work
run: |
git init
git add .
- run: nix develop -L -c pulumi version
working-directory: work
- run: nix develop -L -c bash -c "command -v pulumi-language-nodejs"
working-directory: work
- run: nix develop -L -c typescript-language-server --version
working-directory: work

0 comments on commit 218c64e

Please sign in to comment.