test new prettier action
This commit is contained in:
parent
894001e77c
commit
01a0a4faf3
8
.github/workflows/prettier.yml
vendored
8
.github/workflows/prettier.yml
vendored
@ -9,11 +9,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actionsx/prettier@v2
|
||||||
with:
|
with:
|
||||||
node-version: "18.x"
|
args: --write .
|
||||||
- run: npm ci
|
|
||||||
- run: npm run prettier
|
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4.1.2
|
uses: stefanzweifel/git-auto-commit-action@v4.1.2
|
||||||
with:
|
with:
|
||||||
|
@ -7,8 +7,8 @@ import { app } from "./app";
|
|||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
key: fs.readFileSync("static/certs/key.pem"),
|
key: fs.readFileSync("static/certs/key.pem"),
|
||||||
cert: fs.readFileSync("static/certs/cert.pem"),
|
cert: fs.readFileSync("static/certs/cert.pem"),
|
||||||
passphrase: "123456"
|
passphrase: "123456"
|
||||||
};
|
};
|
||||||
|
|
||||||
// const server = http.createServer(app).listen(80);
|
// const server = http.createServer(app).listen(80);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user