From c5d953bd7ad6d498ebbf210eaf03f8656a98cc98 Mon Sep 17 00:00:00 2001 From: Kengo TODA Date: Fri, 16 Jul 2021 18:08:57 +0800 Subject: [PATCH] build: publish the package --- .github/workflows/test.yml | 3 +-- package.json | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cb39053..4ea0b58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,8 +28,7 @@ jobs: run: | npx semantic-release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_TOKEN: ${{ secrets.PAT_TO_PUSH }} + GITHUB_TOKEN: ${{ secrets.PAT_TO_PUSH }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} test: # make sure the action works on a clean machine without building runs-on: ubuntu-latest diff --git a/package.json b/package.json index a213df9..8d5e1db 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,10 @@ "version": "0.0.0", "description": "the GitHub Action setting up docker-compose command", "main": "lib/main.js", - "private": "false", + "private": false, + "publishConfig": { + "access": "public" + }, "scripts": { "build": "tsc", "format": "prettier --write **/*.ts",