Skip to content

Commit a1fe3af

Browse files
author
Bastian Jakobs
committed
chore: clean up YAML formatting in workflows for consistency
1 parent e413222 commit a1fe3af

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Demo to GitHub Pages
33
on:
44
# Runs on pushes targeting the default branch
55
push:
6-
branches: ['main']
6+
branches: [main]
77

88
# Allows you to run this workflow manually from the Actions tab
99
workflow_dispatch:
@@ -17,7 +17,7 @@ permissions:
1717
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1818
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1919
concurrency:
20-
group: 'pages'
20+
group: pages
2121
cancel-in-progress: false
2222

2323
jobs:
@@ -64,7 +64,7 @@ jobs:
6464
- name: Upload artifact
6565
uses: actions/upload-pages-artifact@v3
6666
with:
67-
path: './dist-demo'
67+
path: ./dist-demo
6868

6969
# Deployment job
7070
deploy:

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: 'Version bump type'
7+
description: Version bump type
88
required: true
99
type: choice
1010
options:
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions/setup-node@v4
3737
with:
3838
node-version: '22'
39-
cache: 'pnpm'
39+
cache: pnpm
4040
registry-url: 'https://registry.npmjs.org'
4141

4242
- name: Install dependencies
@@ -73,11 +73,11 @@ jobs:
7373
const fs = require('fs');
7474
const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
7575
const version = packageJson.version;
76-
76+
7777
await github.rest.repos.createRelease({
7878
owner: context.repo.owner,
7979
repo: context.repo.repo,
8080
tag_name: `v${version}`,
8181
name: `Release v${version}`,
8282
generate_release_notes: true
83-
});
83+
});

0 commit comments

Comments
 (0)