Skip to content

Commit d452503

Browse files
authored
Merge pull request #635 from vtex/bring-back-workflow
Bring back wokflow to publish directly to npm via GA
2 parents f14f1e9 + 91f87e0 commit d452503

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: publish-stable:npm
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- '**'
7+
tags:
8+
- 'v[0-9]+.[0-9]+.[0-9]+'
9+
10+
jobs:
11+
npm-publish:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 22
18+
registry-url: https://registry.npmjs.org/
19+
- run: yarn install --ignore-scripts
20+
- run: yarn ci:build
21+
- run: npm publish
22+
env:
23+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
24+
IS_CI: true

0 commit comments

Comments
 (0)