Skip to content

Commit

Permalink
馃帹 Format yml
Browse files Browse the repository at this point in the history
Format `yml` extension
  • Loading branch information
connorjs committed Sep 9, 2023
1 parent e2d5d0d commit 50f7051
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,20 @@ name: Node.js CI

on:
push:
branches: [ "main" ]
branches: [main]
pull_request:
branches: [ "main" ]
branches: [main]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: npm run release
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- run: npm ci
- run: npm run release
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"type": "module",
"scripts": {
"build": "tsp compile src",
"format": "prettier -l '**/*.{json,md,tsp,yaml}'",
"format": "prettier -l '**/*.{json,md,tsp,yaml,yml}'",
"format:fix": "npm run format -- -w",
"prepare": "is-ci || husky install",
"release": "npm run build && npm run format"
},
"lint-staged": {
"**/*.{json,md,tsp,yaml}": "prettier -w"
"**/*.{json,md,tsp,yaml,yml}": "prettier -w"
},
"devDependencies": {
"@typespec/compiler": "~0.47.1",
Expand Down

0 comments on commit 50f7051

Please sign in to comment.