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);