Merge pull request #758 from IgorKowalczyk/renovate/eslint-monorepo #1769
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: | |
node: ["lts/*"] | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: 🧱 Checkout repository | |
uses: actions/checkout@v4 | |
- name: 🔩 Setup PNPM | |
uses: pnpm/action-setup@v3 | |
with: | |
version: next-9 | |
standalone: true | |
- 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" |