mirror of
https://github.com/iptv-org/iptv
synced 2025-12-18 11:27:34 -05:00
Merge pull request #28026 from iptv-org/patch-2025.10.2
Patch 2025.10.2
This commit is contained in:
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
@@ -28,8 +28,9 @@ jobs:
|
|||||||
node-version: 22
|
node-version: 22
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: Setup .npmrc for GitHub Packages
|
- name: Setup .npmrc for GitHub Packages
|
||||||
|
if: steps.files.outputs.any_changed == 'true'
|
||||||
run: |
|
run: |
|
||||||
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> .npmrc
|
echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" >> .npmrc
|
||||||
echo "@iptv-org:registry=https://npm.pkg.github.com/" >> .npmrc
|
echo "@iptv-org:registry=https://npm.pkg.github.com/" >> .npmrc
|
||||||
echo "always-auth=true" >> .npmrc
|
echo "always-auth=true" >> .npmrc
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
6
.github/workflows/format.yml
vendored
6
.github/workflows/format.yml
vendored
@@ -4,9 +4,7 @@ on:
|
|||||||
# schedule:
|
# schedule:
|
||||||
# - cron: "0 12 * * *"
|
# - cron: "0 12 * * *"
|
||||||
jobs:
|
jobs:
|
||||||
on_trigger:
|
main:
|
||||||
# if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
|
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -26,7 +24,7 @@ jobs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: Setup .npmrc for GitHub Packages
|
- name: Setup .npmrc for GitHub Packages
|
||||||
run: |
|
run: |
|
||||||
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> .npmrc
|
echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" >> .npmrc
|
||||||
echo "@iptv-org:registry=https://npm.pkg.github.com/" >> .npmrc
|
echo "@iptv-org:registry=https://npm.pkg.github.com/" >> .npmrc
|
||||||
echo "always-auth=true" >> .npmrc
|
echo "always-auth=true" >> .npmrc
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: Setup .npmrc for GitHub Packages
|
- name: Setup .npmrc for GitHub Packages
|
||||||
run: |
|
run: |
|
||||||
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> .npmrc
|
echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" >> .npmrc
|
||||||
echo "@iptv-org:registry=https://npm.pkg.github.com/" >> .npmrc
|
echo "@iptv-org:registry=https://npm.pkg.github.com/" >> .npmrc
|
||||||
echo "always-auth=true" >> .npmrc
|
echo "always-auth=true" >> .npmrc
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "iptv",
|
"name": "iptv",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"act:check": "act pull_request -W .github/workflows/check.yml -s GITHUB_TOKEN=\"$(gh auth token)\"",
|
"act:check": "act pull_request -W .github/workflows/check.yml --secret-file .secrets",
|
||||||
"act:format": "act workflow_dispatch -W .github/workflows/format.yml -s GITHUB_TOKEN=\"$(gh auth token)\"",
|
"act:format": "act workflow_dispatch -W .github/workflows/format.yml --secret-file .secrets",
|
||||||
"act:update": "act workflow_dispatch -W .github/workflows/update.yml -s GITHUB_TOKEN=\"$(gh auth token)\"",
|
"act:update": "act workflow_dispatch -W .github/workflows/update.yml --secret-file .secrets",
|
||||||
"api:load": "tsx scripts/commands/api/load.ts",
|
"api:load": "tsx scripts/commands/api/load.ts",
|
||||||
"api:generate": "tsx scripts/commands/api/generate.ts",
|
"api:generate": "tsx scripts/commands/api/generate.ts",
|
||||||
"api:deploy": "npx gh-pages-clean && npx gh-pages -a -m \"Deploy to iptv-org/api\" -d .api -r https://$GITHUB_TOKEN@github.com/iptv-org/api.git",
|
"api:deploy": "npx gh-pages-clean && npx gh-pages -a -m \"Deploy to iptv-org/api\" -d .api -r https://$GITHUB_TOKEN@github.com/iptv-org/api.git",
|
||||||
|
|||||||
Reference in New Issue
Block a user