From 63a8711a91495e6bcb1eec49730322811c6da210 Mon Sep 17 00:00:00 2001 From: Dafnik Date: Tue, 2 May 2023 17:36:13 +0200 Subject: [PATCH 1/2] docs: add inputs table to README.md --- README.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 005bc3a..dc5bd22 100644 --- a/README.md +++ b/README.md @@ -13,24 +13,23 @@ jobs: - name: setup node and pnpm uses: dafnik/setup-node-pnpm@v1 - with: - # PNPM version to install - pnpm: 8 - - # Node version to install - node: 18 - - # Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled - cwd: "." - - # Runs "pnpm install" in working directory - install: false - - # Runs "pnpm install --ingore-scripts" in working directory - # Enable "install" or "install-ignore-scripts" only once + # with: + # pnpm: 8 + # node: 18 + # cwd: "." + # install: false # install-ignore-scripts: false ``` +| Inputs | Default value | Description | +|--------------------------|----------------|-------------------------------| +| `pnpm` | `8` | PNPM version to install | +| `node` | `18` | Node version to install | +| `cwd` | `.` | Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled | +| `install` | `false` | Runs "pnpm install" in working directory | +| `install-ignore-scripts` | `false` | Runs "pnpm install --ingore-scripts" in working directory. Enable "install" or "install-ignore-scripts" only once | + + Furthermore see [action.yml](action.yml) From 61256d843ea7537be4ac26b9032f07e5549af91a Mon Sep 17 00:00:00 2001 From: Dafnik Date: Tue, 2 May 2023 17:46:04 +0200 Subject: [PATCH 2/2] ref: reformat table, fix typos --- .idea/.gitignore | 8 ++++++++ README.md | 16 ++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 .idea/.gitignore diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/README.md b/README.md index dc5bd22..64e766f 100644 --- a/README.md +++ b/README.md @@ -21,17 +21,17 @@ jobs: # install-ignore-scripts: false ``` -| Inputs | Default value | Description | -|--------------------------|----------------|-------------------------------| -| `pnpm` | `8` | PNPM version to install | -| `node` | `18` | Node version to install | -| `cwd` | `.` | Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled | -| `install` | `false` | Runs "pnpm install" in working directory | -| `install-ignore-scripts` | `false` | Runs "pnpm install --ingore-scripts" in working directory. Enable "install" or "install-ignore-scripts" only once | +| Inputs | Default value | Description | +|--------------------------|---------------|-------------------------------------------------------------------------------------------------------------------| +| `pnpm` | `8` | PNPM version to install | +| `node` | `18` | Node version to install | +| `cwd` | `.` | Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled | +| `install` | `false` | Runs "pnpm install" in working directory | +| `install-ignore-scripts` | `false` | Runs "pnpm install --ignore-scripts" in working directory. Enable "install" or "install-ignore-scripts" only once | -Furthermore see [action.yml](action.yml) +Furthermore, see [action.yml](action.yml) ## Testing