Skip to content

Commit 1a3524e

Browse files
committed
Prepare for 0.2.0 release
1 parent 75cbace commit 1a3524e

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/release-js.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: Publish Package to npmjs
22
on:
3-
push:
4-
branches:
5-
- main
6-
# release:
7-
# types: [created]
3+
release:
4+
types: [created]
85
jobs:
96
build:
107
runs-on: ubuntu-latest
@@ -13,17 +10,17 @@ jobs:
1310
id-token: write
1411
steps:
1512
- uses: actions/checkout@v4
16-
# Setup .npmrc file to publish to npm
1713

18-
# - name: Install tinygo
19-
# Until 0.38.0 release, I won't rebuild the tinygo binary
14+
# - name: Install tinygo
15+
# Until 0.38.0 release, I won't rebuild the tinygo binary
2016
- uses: actions/setup-node@v4
2117
with:
2218
node-version: '20.x'
2319
registry-url: 'https://registry.npmjs.org'
2420
- run: |
2521
cd js
2622
npm ci
23+
npm run build-js
2724
npm publish --provenance --access public
2825
env:
2926
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reteps/dockerfmt",
3-
"version": "0.2.0-alpha",
3+
"version": "0.2.0",
44
"type": "module",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)