Skip to content

Commit

Permalink
0.6.1 Fix production install
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen-dekker-ytec committed May 28, 2021
1 parent 728422f commit 7c3a979
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm 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"
scope: "@ytec-nl"
- run: npm install
- run: echo "registry=https://npm.pkg.github.com/@ytec-nl" >> .npmrc
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "bem-toolkit",
"version": "0.6.0",
"name": "@ytec-nl/bem-toolkit",
"version": "0.6.1",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc",
"prepare": "npm run build"
"test": "echo \"Error: no test specified\" && exit 0",
"prepare": "tsc"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 7c3a979

Please sign in to comment.