From 285d3da0c771d3fc558fd78f9ffc0fba92e2e53c Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Mon, 19 Feb 2024 14:58:08 +0300 Subject: [PATCH] perf: ci update gh-token permissions --- .github/workflows/ci.yaml | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 109c578..f78b7a5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,6 +7,12 @@ jobs: name: Test on push if: ${{ github.event_name == 'push' }} runs-on: ubuntu-22.04 + permissions: + checks: read + statuses: write + contents: write + packages: write + id-token: write steps: - name: Checkout uses: actions/checkout@v4 diff --git a/package.json b/package.json index c7f2145..37af0ad 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "./src/main/js/index.d.ts", "type": "module", "bin": { - "zx-extra": "./src/main/js/cli.mjs" + "zx-extra": "src/main/js/cli.mjs" }, "scripts": { "test": "PATH=$(env -i bash -c 'echo $PATH') node ./src/main/js/cli.mjs ./src/test/js/test.mjs --quiet",