From 681732a1b98a2a2cadfaa1807ad3ee6670b6092d Mon Sep 17 00:00:00 2001 From: Daniel Schneider Date: Tue, 1 Aug 2023 15:19:22 +0200 Subject: [PATCH 1/5] added manual trigger --- .github/workflows/npmpublish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 6ce90c9..e9f8027 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -3,6 +3,7 @@ name: Node.js Package on: release: types: [created] + workflow_dispatch: jobs: build: @@ -11,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 18 - run: npm ci - run: npm run lint @@ -22,7 +23,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish --access public From aa8beaffdb8086f90297833e54f5f118e47d9f72 Mon Sep 17 00:00:00 2001 From: Daniel Schneider Date: Tue, 1 Aug 2023 15:21:52 +0200 Subject: [PATCH 2/5] reverted commit + updated node --- .github/workflows/npmpublish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index e9f8027..903a1c1 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -3,7 +3,6 @@ name: Node.js Package on: release: types: [created] - workflow_dispatch: jobs: build: From 44029882af17aa67f6b177b098f5b1c2813d4326 Mon Sep 17 00:00:00 2001 From: Daniel Schneider Date: Tue, 1 Aug 2023 15:28:05 +0200 Subject: [PATCH 3/5] updated dependencies --- .github/workflows/npmpublish.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 903a1c1..5d38201 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -8,10 +8,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: "18.x" - run: npm ci - run: npm run lint @@ -19,10 +19,10 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: "18.x" registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish --access public From 0f20d52dab84a9c9e193955b33807171524df54d Mon Sep 17 00:00:00 2001 From: Daniel Schneider Date: Tue, 1 Aug 2023 15:31:30 +0200 Subject: [PATCH 4/5] adapted curly brackets --- .github/workflows/npmpublish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 5d38201..f655e90 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -27,4 +27,4 @@ jobs: - run: npm ci - run: npm publish --access public env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From 941fbe24b3317603ce74802de98bb67716f346cb Mon Sep 17 00:00:00 2001 From: Daniel Schneider Date: Tue, 1 Aug 2023 15:32:52 +0200 Subject: [PATCH 5/5] small adaption --- .github/workflows/npmpublish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index f655e90..86e5144 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "18.x" + node-version: 18 - run: npm ci - run: npm run lint @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "18.x" + node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish --access public