mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
ci: testing
This commit is contained in:
parent
1fa2d503a5
commit
c539862b48
42
.github/workflows/testing.yml
vendored
42
.github/workflows/testing.yml
vendored
@ -18,27 +18,27 @@ jobs:
|
|||||||
run: yarn lint
|
run: yarn lint
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
build:
|
# build:
|
||||||
name: Build
|
# name: Build
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v1
|
# - uses: actions/checkout@v1
|
||||||
- name: install node v14
|
# - name: install node v14
|
||||||
uses: actions/setup-node@v1
|
# uses: actions/setup-node@v1
|
||||||
with:
|
# with:
|
||||||
node-version: 14
|
# node-version: 14
|
||||||
- name: yarn install
|
# - name: yarn install
|
||||||
run: yarn install
|
# run: yarn install
|
||||||
- name: Generate RSA Key Pair
|
# - name: Generate RSA Key Pair
|
||||||
run: ssh-keygen -b 2048 -t rsa -f public -q -P "" & ssh-keygen -b 2048 -e -m pem -f public -q -P "" > private.key & mv public public.pem
|
# run: ssh-keygen -b 2048 -t rsa -f public -q -P "" & ssh-keygen -b 2048 -e -m pem -f public -q -P "" > private.key & mv public public.pem
|
||||||
- name: Setup environments
|
# - name: Setup environments
|
||||||
run: mv .env.demo.local .env.production.local & echo 'MYSQL_ROOT_PASSWORD=YOUSHALLNOTPASS' > .env
|
# run: mv .env.demo.local .env.production.local & echo 'MYSQL_ROOT_PASSWORD=YOUSHALLNOTPASS' > .env
|
||||||
- name: Create needed files
|
# - name: Create needed files
|
||||||
run: echo '{"tester":"DEMO_KEY"}' > secret.json
|
# run: echo '{"tester":"DEMO_KEY"}' > secret.json
|
||||||
- name: Build
|
# - name: Build
|
||||||
run: yarn build
|
# run: yarn build
|
||||||
env:
|
# env:
|
||||||
CI: true
|
# CI: true
|
||||||
test:
|
test:
|
||||||
needs:
|
needs:
|
||||||
- ESLint
|
- ESLint
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user