Merge pull request #515 from IgorKowalczyk/renovate/astrojs-tailwind-5.x #772
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
name: Deploy | |
on: [push, pull_request] | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ["javascript"] | |
node: ["18.x"] | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: 🧱 Checkout repository | |
uses: actions/checkout@v4 | |
- name: 🔩 Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: 🔩 Setup Node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "pnpm" | |
- name: 🚀 Install dependencies | |
run: pnpm install | |
- name: 🚀 Build project | |
run: pnpm run build | |
- name: 🚀 Upload to Deno Deploy | |
uses: denoland/deployctl@v1 | |
with: | |
project: ${{ vars.DENO_DEPLOY_PROJECT }} | |
entrypoint: "server/entry.mjs" | |
root: "dist" |