mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 15:37:12 +03:00
bump actions to node 16
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -10,8 +10,8 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Initialization
|
# Initialization
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
# Create Chrome artifacts
|
# Create Chrome artifacts
|
||||||
- name: Create Chrome artifacts
|
- name: Create Chrome artifacts
|
||||||
run: npm run build:chrome
|
run: npm run build:chrome
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ChromeExtension
|
name: ChromeExtension
|
||||||
path: dist
|
path: dist
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
# Create Firefox artifacts
|
# Create Firefox artifacts
|
||||||
- name: Create Firefox artifacts
|
- name: Create Firefox artifacts
|
||||||
run: npm run build:firefox
|
run: npm run build:firefox
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: FirefoxExtension
|
name: FirefoxExtension
|
||||||
path: dist
|
path: dist
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
# Create Beta artifacts (Builds with the name changed to beta)
|
# Create Beta artifacts (Builds with the name changed to beta)
|
||||||
- name: Create Chrome Beta artifacts
|
- 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
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ChromeExtensionBeta
|
name: ChromeExtensionBeta
|
||||||
path: dist
|
path: dist
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Firefox Beta artifacts
|
- 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
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: FirefoxExtensionBeta
|
name: FirefoxExtensionBeta
|
||||||
path: dist
|
path: dist
|
||||||
|
|||||||
30
.github/workflows/release.yml
vendored
30
.github/workflows/release.yml
vendored
@@ -12,8 +12,8 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Initialization
|
# Initialization
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
# Create Chrome artifacts
|
# Create Chrome artifacts
|
||||||
- name: Create Chrome artifacts
|
- name: Create Chrome artifacts
|
||||||
run: npm run build:chrome
|
run: npm run build:chrome
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ChromeExtension
|
name: ChromeExtension
|
||||||
path: dist
|
path: dist
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
# Create Firefox artifacts
|
# Create Firefox artifacts
|
||||||
- name: Create Firefox artifacts
|
- name: Create Firefox artifacts
|
||||||
run: npm run build:firefox
|
run: npm run build:firefox
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: FirefoxExtension
|
name: FirefoxExtension
|
||||||
path: dist
|
path: dist
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
# Create Beta artifacts (Builds with the name changed to beta)
|
# Create Beta artifacts (Builds with the name changed to beta)
|
||||||
- name: Create Chrome Beta artifacts
|
- 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
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ChromeExtensionBeta
|
name: ChromeExtensionBeta
|
||||||
path: dist
|
path: dist
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
# Create Safari artifacts
|
# Create Safari artifacts
|
||||||
- name: Create Safari artifacts
|
- name: Create Safari artifacts
|
||||||
run: npm run build:safari
|
run: npm run build:safari
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: SafariExtension
|
name: SafariExtension
|
||||||
path: dist
|
path: dist
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
run: rm -rf ./dist
|
run: rm -rf ./dist
|
||||||
- name: Create Edge artifacts
|
- name: Create Edge artifacts
|
||||||
run: npm run build:edge
|
run: npm run build:edge
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: EdgeExtension
|
name: EdgeExtension
|
||||||
path: dist
|
path: dist
|
||||||
@@ -75,35 +75,35 @@ jobs:
|
|||||||
|
|
||||||
# Upload each release asset
|
# Upload each release asset
|
||||||
- name: Upload ChromeExtension to release
|
- name: Upload ChromeExtension to release
|
||||||
uses: Shopify/upload-to-release@master
|
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
||||||
with:
|
with:
|
||||||
args: builds/ChromeExtension.zip
|
args: builds/ChromeExtension.zip
|
||||||
name: ChromeExtension.zip
|
name: ChromeExtension.zip
|
||||||
path: ./builds/ChromeExtension.zip
|
path: ./builds/ChromeExtension.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload ChromeExtensionBeta to release
|
- name: Upload ChromeExtensionBeta to release
|
||||||
uses: Shopify/upload-to-release@master
|
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
||||||
with:
|
with:
|
||||||
args: builds/ChromeExtensionBeta.zip
|
args: builds/ChromeExtensionBeta.zip
|
||||||
name: ChromeExtensionBeta.zip
|
name: ChromeExtensionBeta.zip
|
||||||
path: ./builds/ChromeExtensionBeta.zip
|
path: ./builds/ChromeExtensionBeta.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload FirefoxExtension to release
|
- name: Upload FirefoxExtension to release
|
||||||
uses: Shopify/upload-to-release@master
|
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
||||||
with:
|
with:
|
||||||
args: builds/FirefoxExtension.zip
|
args: builds/FirefoxExtension.zip
|
||||||
name: FirefoxExtension.zip
|
name: FirefoxExtension.zip
|
||||||
path: ./builds/FirefoxExtension.zip
|
path: ./builds/FirefoxExtension.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload SafariExtension to release
|
- name: Upload SafariExtension to release
|
||||||
uses: Shopify/upload-to-release@master
|
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
||||||
with:
|
with:
|
||||||
args: builds/SafariExtension.zip
|
args: builds/SafariExtension.zip
|
||||||
name: SafariExtension.zip
|
name: SafariExtension.zip
|
||||||
path: ./builds/SafariExtension.zip
|
path: ./builds/SafariExtension.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload EdgeExtension to release
|
- name: Upload EdgeExtension to release
|
||||||
uses: Shopify/upload-to-release@master
|
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
||||||
with:
|
with:
|
||||||
args: builds/EdgeExtension.zip
|
args: builds/EdgeExtension.zip
|
||||||
name: EdgeExtension.zip
|
name: EdgeExtension.zip
|
||||||
@@ -113,7 +113,7 @@ jobs:
|
|||||||
# Firefox Beta
|
# Firefox Beta
|
||||||
- name: Create Firefox Beta artifacts
|
- 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
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: FirefoxExtensionBeta
|
name: FirefoxExtensionBeta
|
||||||
path: dist
|
path: dist
|
||||||
@@ -130,13 +130,13 @@ jobs:
|
|||||||
run: sudo apt-get install rename
|
run: sudo apt-get install rename
|
||||||
- name: Rename signed file
|
- name: Rename signed file
|
||||||
run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' *
|
run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' *
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: FirefoxExtensionSigned.xpi
|
name: FirefoxExtensionSigned.xpi
|
||||||
path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi
|
path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi
|
||||||
|
|
||||||
- name: Upload FirefoxSignedInstaller.xpi to release
|
- name: Upload FirefoxSignedInstaller.xpi to release
|
||||||
uses: Shopify/upload-to-release@master
|
uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
|
||||||
with:
|
with:
|
||||||
args: web-ext-artifacts/FirefoxSignedInstaller.xpi
|
args: web-ext-artifacts/FirefoxSignedInstaller.xpi
|
||||||
name: FirefoxSignedInstaller.xpi
|
name: FirefoxSignedInstaller.xpi
|
||||||
|
|||||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -9,8 +9,8 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Initialization
|
# Initialization
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|||||||
8
.github/workflows/update-oss-attribution.yml
vendored
8
.github/workflows/update-oss-attribution.yml
vendored
@@ -12,9 +12,8 @@ jobs:
|
|||||||
update-oss:
|
update-oss:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v2
|
- uses: actions/setup-node@v3
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
- name: Install and generate attribution
|
- name: Install and generate attribution
|
||||||
@@ -25,7 +24,8 @@ jobs:
|
|||||||
mv ./oss-attribution/attribution.txt ./public/oss-attribution/attribution.txt
|
mv ./oss-attribution/attribution.txt ./public/oss-attribution/attribution.txt
|
||||||
|
|
||||||
- name: Create pull request to update list
|
- name: Create pull request to update list
|
||||||
uses: peter-evans/create-pull-request@923ad837f191474af6b1721408744feb989a4c27
|
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||||
|
# v4.2.0
|
||||||
with:
|
with:
|
||||||
commit-message: Update OSS Attribution
|
commit-message: Update OSS Attribution
|
||||||
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||||||
|
|||||||
6
.github/workflows/updateInvidous.yml
vendored
6
.github/workflows/updateInvidous.yml
vendored
@@ -8,8 +8,7 @@ jobs:
|
|||||||
check-list:
|
check-list:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Download instance list
|
- name: Download instance list
|
||||||
run: |
|
run: |
|
||||||
wget https://api.invidious.io/instances.json -O ci/data.json
|
wget https://api.invidious.io/instances.json -O ci/data.json
|
||||||
@@ -19,7 +18,8 @@ jobs:
|
|||||||
run: npm run ci:invidious
|
run: npm run ci:invidious
|
||||||
|
|
||||||
- name: Create pull request to update list
|
- name: Create pull request to update list
|
||||||
uses: peter-evans/create-pull-request@923ad837f191474af6b1721408744feb989a4c27
|
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
||||||
|
# v4.2.0
|
||||||
with:
|
with:
|
||||||
commit-message: Update Invidious List
|
commit-message: Update Invidious List
|
||||||
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||||||
|
|||||||
Reference in New Issue
Block a user