diff options
author | Michael C <[email protected]> | 2022-02-05 21:20:53 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2022-02-06 13:24:47 -0500 |
commit | 1bd7c6a33ad2812b581af1c0e56d41f171b042a4 (patch) | |
tree | bcff4aded0d21a8af0d2a225807388031c40e70a /.github | |
parent | f5301fc374e698a8e3b0f98fa348af1c2ceff934 (diff) | |
download | SponsorBlock-1bd7c6a33ad2812b581af1c0e56d41f171b042a4.tar.gz SponsorBlock-1bd7c6a33ad2812b581af1c0e56d41f171b042a4.zip |
update depndencies
- add engines targeting dev
- bump webpack
- update-oss-attribution CI
- appease eslint for webpack
- clean up packages
- move @types to devDependencies
- moved concurrently to devDependencies
- remove unused babel
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
-rw-r--r-- | .github/workflows/update-oss-attribution.yml | 32 |
2 files changed, 34 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f50cc308..6f1318d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: # Create Beta artifacts (Builds with the name changed to beta) - name: Create Chrome Beta artifacts - run: npm run build:chrome -- --env.stream=beta + run: npm run build:chrome -- --env stream=beta - uses: actions/upload-artifact@v2 with: name: ChromeExtensionBeta @@ -57,7 +57,7 @@ jobs: args: zip -qq -r ./builds/ChromeExtensionBeta.zip ./dist - name: Create Firefox Beta artifacts - run: npm run build:firefox -- --env.stream=beta + run: npm run build:firefox -- --env stream=beta - uses: actions/upload-artifact@v2 with: name: FirefoxExtensionBeta diff --git a/.github/workflows/update-oss-attribution.yml b/.github/workflows/update-oss-attribution.yml new file mode 100644 index 00000000..4117aa4a --- /dev/null +++ b/.github/workflows/update-oss-attribution.yml @@ -0,0 +1,32 @@ +name: update oss attributions +on: + push: + branches: + - master + paths: + - 'package.json' + - 'package-lock.json' + +jobs: + update-oss: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' + - name: Install and generate attribution + run: | + npm i -g oss-attribution-generator + generate-attribution + mv ./oss-attribution/attribution.txt ./public/oss-attribution/attribution.txt + + - name: Create pull request to update list + uses: peter-evans/create-pull-request@v3 + with: + commit-message: Update OSS Attribution + author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> + branch: ci/oss_attribution + title: Update OSS Attribution + body: Automated OSS Attribution update
\ No newline at end of file |