Security: remove updated action and fix prettier (#134)
This commit is contained in:
13
.github/workflows/prettify-code.yml
vendored
13
.github/workflows/prettify-code.yml
vendored
@@ -12,7 +12,14 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: Enforce Prettier
|
- name: Setup Node.js
|
||||||
uses: actionsx/prettier@3d9f7c3fa44c9cb819e68292a328d7f4384be206 #v3.0.0
|
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||||
with:
|
with:
|
||||||
args: --check .
|
node-version: 'lts/*'
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Run Prettier Check
|
||||||
|
run: npx prettier --check .
|
||||||
|
|||||||
Reference in New Issue
Block a user