Skip to content

Update lint configurations (#91) #45

Update lint configurations (#91)

Update lint configurations (#91) #45

Workflow file for this run

# This file is part of Share₂Fedi
# https://github.com/kytta/share2fedi
#
# SPDX-FileCopyrightText: © 2023 Nikita Karamov <[email protected]>
# SPDX-License-Identifier: AGPL-3.0-only
---
name: Deno
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm run build --s2f-use-deno
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: share2fedi
entrypoint: server/entry.mjs
root: dist