mirror of
https://github.com/iptv-org/iptv
synced 2025-12-16 10:26:48 -05:00
Update format.yml
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user