File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 7575 DOTENV_KEY : ${{ secrets.DOTENV_KEY }}
7676 <%/env_vault % >
7777 run : npm test --ignore-scripts
78+
79+ weekly_test :
80+ name : Weekly Full Test
81+ runs-on : ubuntu-latest
82+ if : github.event_name == 'schedule'
83+ defaults :
84+ run :
85+ shell : bash
86+ steps :
87+ - name : Checkout
88+ uses : actions/checkout@v3
89+ - name : Setup node
90+ uses : actions/setup-node@v3
91+ with :
92+ node-version : 18.x
93+ - name : Update npm
94+ run : npm i --prefer-online --no-fund --no-audit -g npm@latest
95+ - name : Install dependencies
96+ run : npm i --no-audit --no-fund
97+ - name : Check if test:full is defined
98+ id : check_test_full
99+ run : |
100+ if grep -q '"test:full":' package.json; then
101+ echo "::set-output name=exists::true"
102+ else
103+ echo "::set-output name=exists::false"
104+ fi
105+ - name : Run Full Test
106+ if : steps.check_test_full.outputs.exists == 'true'
107+ run : npm run test:full --ignore-scripts
You can’t perform that action at this time.
0 commit comments