mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-16 20:10:07 -04:00
Upgrade to Node 16
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
This commit is contained in:
parent
cc30796270
commit
7a355883d7
4 changed files with 11 additions and 11 deletions
4
.github/workflows/_check.yml
vendored
4
.github/workflows/_check.yml
vendored
|
@ -21,10 +21,10 @@ jobs:
|
||||||
id: files
|
id: files
|
||||||
with:
|
with:
|
||||||
files: sites/**/*.channels.xml
|
files: sites/**/*.channels.xml
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
if: ${{ !env.ACT && steps.files.outputs.any_changed == 'true' }}
|
if: ${{ !env.ACT && steps.files.outputs.any_changed == 'true' }}
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: 16
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: validate
|
- name: validate
|
||||||
if: steps.files.outputs.any_changed == 'true'
|
if: steps.files.outputs.any_changed == 'true'
|
||||||
|
|
6
.github/workflows/_load.yml
vendored
6
.github/workflows/_load.yml
vendored
|
@ -16,10 +16,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: npm run api:load
|
- run: npm run api:load
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }}
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: 16
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: CHANNELS_PATH=sites/${{inputs.site}}/*.channels.xml npm run queue:create -- --max-clusters=1 --days=2
|
- run: CHANNELS_PATH=sites/${{inputs.site}}/*.channels.xml npm run queue:create -- --max-clusters=1 --days=2
|
||||||
|
@ -32,7 +32,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
app_id: ${{ secrets.APP_ID }}
|
app_id: ${{ secrets.APP_ID }}
|
||||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
- uses: JamesIves/github-pages-deploy-action@v4.3.3
|
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
|
|
8
.github/workflows/_update-api.yml
vendored
8
.github/workflows/_update-api.yml
vendored
|
@ -7,11 +7,11 @@ jobs:
|
||||||
update:
|
update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }}
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: 16
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run api:update
|
- run: npm run api:update
|
||||||
|
@ -21,7 +21,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
app_id: ${{ secrets.APP_ID }}
|
app_id: ${{ secrets.APP_ID }}
|
||||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
- uses: JamesIves/github-pages-deploy-action@4.1.1
|
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
with:
|
with:
|
||||||
repository-name: iptv-org/api
|
repository-name: iptv-org/api
|
||||||
|
|
4
.github/workflows/_update-readme.yml
vendored
4
.github/workflows/_update-readme.yml
vendored
|
@ -13,10 +13,10 @@ jobs:
|
||||||
- run: git config user.name 'iptv-bot[bot]'
|
- run: git config user.name 'iptv-bot[bot]'
|
||||||
- run: git config user.email '84861620+iptv-bot[bot]@users.noreply.github.com'
|
- run: git config user.email '84861620+iptv-bot[bot]@users.noreply.github.com'
|
||||||
- run: git checkout -b ${{ steps.create-branch-name.outputs.branch_name }}
|
- run: git checkout -b ${{ steps.create-branch-name.outputs.branch_name }}
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }}
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: 16
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run api:load
|
- run: npm run api:load
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue