Update lint configurations (#91) #45
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
# 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 |