Create gh action - format #17

Merged
AngeloTadeucci merged 10 commits from github_actions into main 2023-06-06 15:38:59 -07:00
2 changed files with 5 additions and 7 deletions
Showing only changes of commit 01a0a4faf3 - Show all commits

View File

@ -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:

View File

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