Skip to content

Commit

Permalink
crawling to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
dforsber committed May 11, 2020
1 parent 3755dbb commit ba08a5b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -14,9 +14,6 @@
"type": "git",
"url": "ssh://[email protected]:dforsber/s3-selectable.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"scripts": {
"prebuild": "yarn install --frozen-lockfile",
"build": "tsc",
Expand Down

0 comments on commit ba08a5b

Please sign in to comment.