Skip to content

Commit 0d39357

Browse files
authored
Merge pull request #6 from peopledoc/ci/release-workflow
[BREAKING] Release package on peopledoc github registry
2 parents ddbc768 + 222b9f3 commit 0d39357

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Create a package
2+
on:
3+
release:
4+
types: ['created']
5+
jobs:
6+
release:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Use Node.js 10 and setup registry
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 10.x
14+
registry-url: https://npm.pkg.github.com/
15+
- name: Install deps
16+
run: npm ci
17+
env:
18+
NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }}
19+
- name: Publish
20+
run: npm publish
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "broccoli-styledown",
2+
"name": "@peopledoc/broccoli-styledown",
33
"version": "2.0.1",
44
"description": "Broccoli plugin for creating styledown html from css markup",
55
"main": "index.js",

0 commit comments

Comments
 (0)