Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated changeset publish action post extension vite #291

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/rude-queens-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'mexit': patch
'mexit-webapp': patch
---

Updated changeset publish action post extension with vite #286
8 changes: 3 additions & 5 deletions .github/workflows/changesets-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ jobs:
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: yarn bump-version

- uses: aws-actions/configure-aws-credentials@v1
if: steps.changesets.outputs.hasChangesets == 'false'
Expand All @@ -79,12 +77,12 @@ jobs:

- name: Build Extension for release
if: steps.changesets.outputs.hasChangesets == 'false'
run: yarn nx release extension
run: yarn nx build:release extension

- name: Zip Extension Bundle
if: steps.changesets.outputs.hasChangesets == 'false'
working-directory: ./dist/apps/extension
run: zip -r mexit-${{ fromJson(steps.get_package_version.outputs.packageJson).version }}.zip Assets background.js content.js index.html manifest.json
working-directory: ./dist/extension
run: zip -r mexit-${{ fromJson(steps.get_package_version.outputs.packageJson).version }}.zip *

- name: Create Release and Upload Extension ZIP Bundle
id: upload-release-asset
Expand Down
60 changes: 0 additions & 60 deletions .github/workflows/release-extension.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/release-webapp.yml

This file was deleted.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"scripts": {
"start": "nx serve",
"build": "nx build",
"test": "nx test",
"bump-version": "node version.js"
"test": "nx test"
},
"private": true,
"workspaces": {
Expand Down Expand Up @@ -58,4 +57,4 @@
"swc-loader": "^0.1.15",
"ts-node": "^10.7.0"
}
}
}
37 changes: 0 additions & 37 deletions version.js

This file was deleted.

5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8934,6 +8934,11 @@ is-buffer@^2.0.0:
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191"
integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==

is-callable@^1.1.3:
version "1.2.7"
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055"
integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==

is-callable@^1.1.4, is-callable@^1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945"
Expand Down