diff --git a/.github/workflows/extension.yml b/.github/workflows/extension.yml new file mode 100644 index 0000000..0dcf9b4 --- /dev/null +++ b/.github/workflows/extension.yml @@ -0,0 +1,31 @@ +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 + + 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 build + run: | + tar -czf extension.tar.gz ./packages/extension/dist \ No newline at end of file