Skip to content

Commit 6e27605

Browse files
authored
Merge pull request #2 from web-platform-dx/feature/ci-1
Deploy to npm on a new Git tag
2 parents d8fefa0 + ac33474 commit 6e27605

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags: ['*']
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
15+
- name: Set up Bun
16+
uses: oven-sh/setup-bun@v2
17+
with:
18+
bun-version: latest
19+
20+
- name: Publish package
21+
env:
22+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_CONFIG_TOKEN }}
23+
run: bun publish --access public

0 commit comments

Comments
 (0)