From 01a0a4faf3e9ea0a76fbd9edf7e4af1ec2debe6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=82ngelo=20Tadeucci?= Date: Tue, 6 Jun 2023 19:36:05 -0300 Subject: [PATCH] test new prettier action --- .github/workflows/prettier.yml | 8 +++----- src/index.ts | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 0e501c9b..052f8232 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -9,11 +9,9 @@ jobs: - uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} - - uses: actions/setup-node@v1 - with: - node-version: "18.x" - - run: npm ci - - run: npm run prettier + - uses: actionsx/prettier@v2 + with: + args: --write . - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: diff --git a/src/index.ts b/src/index.ts index 689fa854..98290c15 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,8 +7,8 @@ import { app } from "./app"; const options = { key: fs.readFileSync("static/certs/key.pem"), - cert: fs.readFileSync("static/certs/cert.pem"), - passphrase: "123456" +cert: fs.readFileSync("static/certs/cert.pem"), + passphrase: "123456" }; // const server = http.createServer(app).listen(80);