mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-02-06 09:16:28 +00:00
This ensure that we run prettier across all supported filetypes to check for any formatting / style inconsistencies. Previously, it was only run for files in the website/ directory using a deprecated pre-commit plugin. The benefit to keeping this in our pre-commit config is that devs can optionally run these checks locally with `pre-commit run --config .github/pre-commit-config.yaml`. --------- Signed-off-by: Jamil <jamilbk@users.noreply.github.com> Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
17 lines
392 B
YAML
17 lines
392 B
YAML
name: "Setup Node"
|
|
description: "Sets up the correct Node version and installs pnpm"
|
|
inputs:
|
|
node-version:
|
|
description: "Version of nodejs to install"
|
|
required: false
|
|
default: "20"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: pnpm/action-setup@v3
|
|
with:
|
|
version: 9.3
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|