Skip to content

Commit

Permalink
update actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Dec 21, 2024
1 parent 1516741 commit 9776d0b
Show file tree
Hide file tree
Showing 4 changed files with 1,343 additions and 691 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/pulumi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@ jobs:
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
steps:
- name: Checkout 🛎
uses: actions/checkout@master
uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 1

- name: Setup node 🏗
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22

- name: Setup pnpm 📦
id: pnpm-install
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v4
with:
version: 7
run_install: false

- name: Get pnpm store directory 📁
Expand All @@ -50,32 +49,32 @@ jobs:
- uses: actions/checkout@v3
with:
repository: "CunnyDev/stack"
repository: 'CunnyDev/stack'
token: ${{ steps.githubAppAuth.outputs.token }}
path: stack

- run: pnpm install

- run: curl -fsSL https://get.pulumi.com | sh

- run: ~/.pulumi/bin/pulumi login --local

- run: ~/.pulumi/bin/pulumi stack init cunnydev

- run: ~/.pulumi/bin/pulumi stack select cunnydev

- run: ~/.pulumi/bin/pulumi stack import --file=stack/stack.json

- run: ~/.pulumi/bin/pulumi preview

- run: ~/.pulumi/bin/pulumi up --yes
env:
GITHUB_TOKEN: ${{ steps.githubAppAuth.outputs.token }}
if: github.ref == 'refs/heads/main'

- run: ~/.pulumi/bin/pulumi stack export --file=stack/stack.json
if: github.ref == 'refs/heads/main'

- run: cat stack/stack.json
if: github.ref == 'refs/heads/main'

Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/jod
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"@pulumi/pulumi": "3.44.3"
},
"devDependencies": {
"@types/node": "^16"
}
"@types/node": "^22"
},
"packageManager": "pnpm@9.15.1"
}
Loading

0 comments on commit 9776d0b

Please sign in to comment.