Skip to content

Commit

Permalink
Merge branch 'esbuild' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tfedor committed Mar 14, 2024
2 parents ab2c087 + 52b7ef1 commit a8f9217
Show file tree
Hide file tree
Showing 69 changed files with 1,836 additions and 5,479 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Build Augmented Steam
on:
push:
branches: [develop, master]
jobs:
build-all:
name: Build Augmented Steam
strategy:
matrix:
browser: [firefox, chrome, edge]
uses: ./.github/workflows/run-build.yml
with:
browser: ${{ matrix.browser }}
28 changes: 28 additions & 0 deletions .github/workflows/run-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Build
on:
workflow_call:
inputs:
browser:
required: true
type: string
jobs:
build:
name: Build ${{ inputs.browser }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 21
- name: Install
run: npm install
- name: Build
run: npm run build -- ${{ inputs.browser }} --production
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.browser }}
path: dist/prod.${{ inputs.browser }}
if-no-files-found: error
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ Run `npm run build firefox -- --production` or `npm run build chrome -- --produc

> *Note:* Run `npm run build -- --help` to see all available build options
### Hot Reload

During development, it might be convenient to run the hot reload server, so you don't need to reload the extension manually
after each build.

To do that, run `build` with the `--server` argument. Make sure to manually reload the extension for the first time after the hot reload build.
> *Example:* `npm run build -- firefox --server`
Now, for every change you make in the source code, the server will rebuild and reload the extension and refresh all affected pages automatically.

In case the hot reload doesn't work or stops working, try restarting the server and reloading the extension manually.

## License

Enhanced Steam is Copyright 2012-2018 Jason Shackles.
Expand Down
3 changes: 0 additions & 3 deletions config/manifests/base.dev.json

This file was deleted.

Loading

0 comments on commit a8f9217

Please sign in to comment.