Skip to content

Commit a45f53d

Browse files
brendanburnsbrendandburns
authored andcommitted
Add a workflow to perform releases.
1 parent 14b6d48 commit a45f53d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
environment: production
10+
steps:
11+
- name: Checkout Javascript
12+
uses: actions/checkout@v3
13+
- name: Setup Node
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: '16'
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Package
20+
run: ./build-package.sh
21+
- name: Upload
22+
run: ./push-package.sh
23+
env:
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)