build: publish the package

This commit is contained in:
Kengo TODA
2021-07-16 18:08:57 +08:00
parent 1b36797b11
commit c5d953bd7a
2 changed files with 5 additions and 3 deletions

View File

@@ -28,8 +28,7 @@ jobs:
run: | run: |
npx semantic-release npx semantic-release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.PAT_TO_PUSH }}
GH_TOKEN: ${{ secrets.PAT_TO_PUSH }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
test: # make sure the action works on a clean machine without building test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -3,7 +3,10 @@
"version": "0.0.0", "version": "0.0.0",
"description": "the GitHub Action setting up docker-compose command", "description": "the GitHub Action setting up docker-compose command",
"main": "lib/main.js", "main": "lib/main.js",
"private": "false", "private": false,
"publishConfig": {
"access": "public"
},
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"format": "prettier --write **/*.ts", "format": "prettier --write **/*.ts",