From ba08a5b91f37ffa1a1791e8455a4629e9dd97388 Mon Sep 17 00:00:00 2001 From: Dan Forsberg Date: Mon, 11 May 2020 07:36:08 +0100 Subject: [PATCH] crawling to publish --- .github/workflows/publish.yml | 23 +++++++++++++++-------- package.json | 5 +---- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7ff853..d8f3ecf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,21 +5,28 @@ on: types: [created] jobs: - publish: + build: runs-on: ubuntu-latest steps: - - name: Checkout master - uses: actions/checkout@master - - name: Setup node - uses: actions/setup-node@v1 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 with: node-version: 12 - registry-url: https://npm.pkg.github.com/ - scope: "@dforsber" - - name: Install modules with frozen lockfile and build + - name: CI run: | yarn install --frozen-lockfile --ignore-optional yarn build + yarn lint + yarn test + publish-gpr: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://npm.pkg.github.com/ - name: Publish to repository run: yarn publish env: diff --git a/package.json b/package.json index 769916c..d4a7467 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "s3-selectable", - "version": "0.0.2", + "version": "0.0.4", "description": "S3 Select over Glue Table", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -14,9 +14,6 @@ "type": "git", "url": "ssh://git@github.com:dforsber/s3-selectable.git" }, - "publishConfig": { - "registry": "https://npm.pkg.github.com/" - }, "scripts": { "prebuild": "yarn install --frozen-lockfile", "build": "tsc",