From 066349bd0ad07210177d316a070e6e3d2e60ad11 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Tue, 8 Oct 2024 17:55:36 +0200 Subject: [PATCH 1/3] chore: update cookie dependency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b0fe77e..f8d9b4e 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "@sindresorhus/is": "^6.3.1", "accepts": "^1.3.8", "content-disposition": "^0.5.4", - "cookie": "^0.6.0", + "cookie": "^0.7.2", "destroy": "^1.2.0", "encodeurl": "^2.0.0", "etag": "^1.8.1", From 14c20e77a65e9217fdda192f7c8f3c5ea0ac7a55 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Tue, 8 Oct 2024 17:59:02 +0200 Subject: [PATCH 2/3] ci: add release workflow --- .github/workflows/checks.yml | 1 + .github/workflows/release.yml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c27fb04..deae570 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -2,6 +2,7 @@ name: checks on: - push - pull_request + - workflow_call jobs: test: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..fde89b4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,32 @@ +name: release +on: workflow_dispatch +permissions: + contents: write + id-token: write +jobs: + checks: + uses: ./.github/workflows/checks.yml + release: + needs: checks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - name: git config + run: | + git config user.name "${GITHUB_ACTOR}" + git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + - name: Init npm config + run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: npm install + - run: npm run release -- --ci + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From db7409f0cf80bc66dfe989b01e1f5e6fe9bc924b Mon Sep 17 00:00:00 2001 From: RomainLanz Date: Tue, 8 Oct 2024 16:02:34 +0000 Subject: [PATCH 3/3] chore(release): 7.2.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f8d9b4e..8afbc53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adonisjs/http-server", - "version": "7.2.3", + "version": "7.2.4", "description": "AdonisJS HTTP server with support packed with Routing and Cookies", "main": "build/index.js", "type": "module",