From 7e852ca28c06c574b7f31e0c7962853484698924 Mon Sep 17 00:00:00 2001 From: Dan Forsberg Date: Mon, 11 May 2020 08:56:52 +0100 Subject: [PATCH] Try to get package.json:files working --- .github/workflows/publish.yml | 8 ++++++-- package.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0365468..1de2fdd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,9 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: yarn publish --access public + - run: | + yarn build + yarn publish --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} @@ -43,6 +45,8 @@ jobs: always-auth: true registry-url: https://npm.pkg.github.com/ - name: Publish to GitHub packages repository - run: yarn publish + run: | + yarn build + yarn publish --access public env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 54cc5a2..973ed18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dforsber/s3-selectable", - "version": "0.0.8", + "version": "0.0.9", "description": "S3 Select over Glue Table", "main": "dist/index.js", "types": "dist/index.d.ts",