style: format (#2925)

This commit is contained in:
ITOH
2023-04-01 02:46:46 +02:00
committed by GitHub
parent 4d3a2f7665
commit 05fc3fbeba
85 changed files with 670 additions and 828 deletions

View File

@@ -18,7 +18,7 @@ jobs:
node-version: 18
- uses: denoland/setup-deno@main
with:
deno-version: "v1.29"
deno-version: 'v1.29'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

View File

@@ -18,14 +18,14 @@ jobs:
strategy:
fail-fast: false
matrix:
package: ["gateway", "rest", "types", "utils", "bot"]
package: ['gateway', 'rest', 'types', 'utils', 'bot']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
scope: "@discordeno"
registry-url: 'https://registry.npmjs.org'
scope: '@discordeno'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

View File

@@ -6,23 +6,23 @@ name: Deploy Docs Site
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: ["main"]
branches: ['main']
paths:
- "website/**"
- ".github/workflows/site.yml"
- "jsdoc2md.json"
- "typedoc.json"
- "package.json"
- "packages/**"
- 'website/**'
- '.github/workflows/site.yml'
- 'jsdoc2md.json'
- 'typedoc.json'
- 'package.json'
- 'packages/**'
pull_request:
branches: ["main"]
branches: ['main']
paths:
- "website/**"
- ".github/workflows/site.yml"
- "jsdoc2md.json"
- "typedoc.json"
- "package.json"
- "packages/**"
- 'website/**'
- '.github/workflows/site.yml'
- 'jsdoc2md.json'
- 'typedoc.json'
- 'package.json'
- 'packages/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

View File

@@ -5,8 +5,8 @@ on:
branches:
- main
paths:
- "website/**"
# - "template/**"
- 'website/**'
# - "template/**"
jobs:
sync: