Skip to content

Commit 9fb187e

Browse files
committed
pck update
1 parent 9baa08c commit 9fb187e

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Node.js Package
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
# Setup .npmrc file to publish to npm
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '12.x'
14+
registry-url: 'https://registry.npmjs.org'
15+
- run: npm install
16+
# Build
17+
- run: npm run build
18+
# Publish to npm
19+
- run: npm publish --access public
20+
env:
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
# Setup .npmrc file to publish to GitHub Packages
23+
- uses: actions/setup-node@v1
24+
with:
25+
registry-url: 'https://npm.pkg.github.com'
26+
# Defaults to the user or organization that owns the workflow file
27+
scope: '@revolist'
28+
# Publish to GitHub Packages
29+
- run: npm publish
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@revolist/revogrid-column-date",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Date column type for RevoGrid system based on duetds-date-picker",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)