-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 952 Bytes
/
extension.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Deploy @msw-devtools/extension
on:
push:
branches: ['master']
paths:
- 'packages/extension/package.json'
jobs:
release:
name: Build and Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/install-npm-deps
- name: Build @msw-devtools/extension
run: npm run build -- --filter=@msw-devtools/extension
- name: Archive @msw-devtools/extension
run: zip -r dist.zip ./packages/extension/dist
- name: Archive @msw-devtools/extension
run: |
tar -czf dist.tar.gz ./packages/extension/dist
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
dist.zip
dist.tar.gz
make_latest: true
name: "@msw-devtools/extension"
tag_name: "latest"