Skip to content

Commit 7bcb136

Browse files
authored
Merge pull request #340 from sanemat/chore/github-build
chore(build): use github actions
2 parents 25201d7 + 994acbc commit 7bcb136

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
- name: Use Node.js
12+
uses: actions/setup-node@v3
13+
with:
14+
node-version: '18.x'
15+
cache: 'npm'
16+
- run: npm ci
17+
- run: npm run build
18+
- run: ls -a package/
19+
- run: npm run test
20+
- name: Release
21+
uses: softprops/action-gh-release@v1
22+
if: startsWith(github.ref, 'refs/tags/')
23+
with:
24+
files: 'package/do-not-merge-wip-for-github.zip'

0 commit comments

Comments
 (0)