mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-06-17 01:51:03 +00:00
Disable yarn scripts on CI (#1100)
This commit is contained in:
@@ -6,38 +6,38 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
crosscheck:
|
crosscheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
YARN_ENABLE_SCRIPTS: false
|
||||||
|
CI_LOG: 123
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: check
|
- name: check
|
||||||
env:
|
|
||||||
CI_LOG: 123
|
|
||||||
run: |
|
run: |
|
||||||
yarn install --immutable | grep -v 'YN0013'
|
yarn install --immutable | grep -v 'YN0013'
|
||||||
yarn phishing:crosscheck
|
yarn phishing:crosscheck
|
||||||
- name: issue
|
- name: issue
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: JasonEtco/create-an-issue@v2
|
uses: JasonEtco/create-an-issue@v2
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }}
|
|
||||||
with:
|
with:
|
||||||
filename: .github/crosscheck.md
|
filename: .github/crosscheck.md
|
||||||
update_existing: true
|
update_existing: true
|
||||||
|
|
||||||
addrcheck:
|
addrcheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
YARN_ENABLE_SCRIPTS: false
|
||||||
|
CI_LOG: 123
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: check
|
- name: check
|
||||||
env:
|
|
||||||
CI_LOG: 123
|
|
||||||
run: |
|
run: |
|
||||||
yarn install --immutable | grep -v 'YN0013'
|
yarn install --immutable | grep -v 'YN0013'
|
||||||
yarn phishing:addrcheck
|
yarn phishing:addrcheck
|
||||||
- name: issue
|
- name: issue
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: JasonEtco/create-an-issue@v2
|
uses: JasonEtco/create-an-issue@v2
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }}
|
|
||||||
with:
|
with:
|
||||||
filename: .github/addrcheck.md
|
filename: .github/addrcheck.md
|
||||||
update_existing: true
|
update_existing: true
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
lock:
|
lock:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
YARN_ENABLE_SCRIPTS: false
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v2
|
- uses: dessant/lock-threads@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -8,11 +8,12 @@ jobs:
|
|||||||
step: ['lint', 'test', 'build']
|
step: ['lint', 'test', 'build']
|
||||||
name: ${{ matrix.step }}
|
name: ${{ matrix.step }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
YARN_ENABLE_SCRIPTS: false
|
||||||
|
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: ${{ matrix.step }}
|
- name: ${{ matrix.step }}
|
||||||
env:
|
|
||||||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
||||||
run: |
|
run: |
|
||||||
yarn install --immutable | grep -v 'YN0013'
|
yarn install --immutable | grep -v 'YN0013'
|
||||||
yarn ${{ matrix.step }}
|
yarn ${{ matrix.step }}
|
||||||
|
|||||||
@@ -12,16 +12,17 @@ jobs:
|
|||||||
step: ['build:release']
|
step: ['build:release']
|
||||||
name: ${{ matrix.step }}
|
name: ${{ matrix.step }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
YARN_ENABLE_SCRIPTS: false
|
||||||
|
GH_PAT: ${{ secrets.GH_PAT }}
|
||||||
|
GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT }}
|
||||||
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.GH_PAT }}
|
token: ${{ secrets.GH_PAT }}
|
||||||
- name: ${{ matrix.step }}
|
- name: ${{ matrix.step }}
|
||||||
env:
|
|
||||||
GH_PAT: ${{ secrets.GH_PAT }}
|
|
||||||
GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT }}
|
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
yarn install --immutable | grep -v 'YN0013'
|
yarn install --immutable | grep -v 'YN0013'
|
||||||
yarn ${{ matrix.step }}
|
yarn ${{ matrix.step }}
|
||||||
@@ -34,13 +35,14 @@ jobs:
|
|||||||
step: ['build:release:ipfs']
|
step: ['build:release:ipfs']
|
||||||
name: ${{ matrix.step }}
|
name: ${{ matrix.step }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
YARN_ENABLE_SCRIPTS: false
|
||||||
|
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
|
||||||
|
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }}
|
||||||
|
PINATA_SECRET_KEY: ${{ secrets.PINATA_SECRET_KEY }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: ${{ matrix.step }}
|
- name: ${{ matrix.step }}
|
||||||
env:
|
|
||||||
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
|
|
||||||
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }}
|
|
||||||
PINATA_SECRET_KEY: ${{ secrets.PINATA_SECRET_KEY }}
|
|
||||||
run: |
|
run: |
|
||||||
yarn install --immutable | grep -v 'YN0013'
|
yarn install --immutable | grep -v 'YN0013'
|
||||||
./scripts/ipfsPrep.sh
|
./scripts/ipfsPrep.sh
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ jobs:
|
|||||||
check:
|
check:
|
||||||
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
|
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
YARN_ENABLE_SCRIPTS: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: returntocorp/semgrep-action@v1
|
- uses: returntocorp/semgrep-action@v1
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
YARN_ENABLE_SCRIPTS: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v3
|
- uses: actions/stale@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user