Skip to content

Commit 081f80c

Browse files
authored
Merge pull request #6 from usdigitalresponse/main
Release version 0.0.2
2 parents f7f3f04 + 70cfeb8 commit 081f80c

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Create and publish a release
2+
3+
on:
4+
push:
5+
branches: ['release']
6+
7+
jobs:
8+
build-and-push-package:
9+
runs-on: ubuntu-latest
10+
11+
permissions:
12+
contents: read
13+
packages: write
14+
attestations: write
15+
id-token: write
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
- name: Use Node.js 20.x
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20.x
23+
registry-url: 'https://npm.pkg.github.com'
24+
scope: '@usdigitalresponse'
25+
- name: Install dependencies
26+
run: npm i
27+
- name: Build package
28+
run: npm run build
29+
30+
- name: Publish
31+
run: npm publish
32+
env:
33+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)