Skip to content

Commit

Permalink
Deploy @msw-devtools/extension
Browse files Browse the repository at this point in the history
  • Loading branch information
vkruglikov committed Jan 4, 2025
1 parent 9cb8840 commit 8a0450d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
install-deps:
name: Install dependencies
name: Install dependencies and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploy @msw-devtools/extension

on:
push:
branches: ['master']
paths:
- 'packages/core/**'
- 'packages/extension/**'
- '.github/workflows/extension.yml'

permissions:
contents: read
pages: write
id-token: write

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: Release
uses: softprops/action-gh-release@v2
with:
files: ./packages/extension/dist/**
make_latest: true
name: "@msw-devtools/extension"
tag_name: "latest"

0 comments on commit 8a0450d

Please sign in to comment.