Skip to content

Commit

Permalink
Prettier (glideapps#2072)
Browse files Browse the repository at this point in the history
* Format on push to master

* Add format script

* Prettify step
  • Loading branch information
dvdsgl committed Jan 8, 2023
1 parent e9e68d7 commit 7599c47
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Build and Release
on:
push:
branches:
- master
push:
branches:
- master

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: npm
registry-url: "https://registry.npmjs.org"
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: npm
registry-url: "https://registry.npmjs.org"

- run: npm ci
- run: npm ci

- run: npm run pub
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run pub
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"test": "script/test",
"start": "script/watch",
"pkg": "script/make-pkgs.sh",
"format": "prettier --write **/*.ts",
"tslint": "tslint --project src/cli --exclude 'src/__tests__/**' --exclude 'src/quicktype-core/input/io/get-stream/**'",
"clean": "rm -rf dist node_modules *~",
"publish": "script/publish.sh"
Expand Down

0 comments on commit 7599c47

Please sign in to comment.