ci: testing

This commit is contained in:
원더 2021-01-13 17:15:20 +09:00
parent 1fa2d503a5
commit c539862b48

View File

@ -18,27 +18,27 @@ jobs:
run: yarn lint
env:
CI: true
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v14
uses: actions/setup-node@v1
with:
node-version: 14
- name: yarn install
run: yarn install
- 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
- name: Setup environments
run: mv .env.demo.local .env.production.local & echo 'MYSQL_ROOT_PASSWORD=YOUSHALLNOTPASS' > .env
- name: Create needed files
run: echo '{"tester":"DEMO_KEY"}' > secret.json
- name: Build
run: yarn build
env:
CI: true
# build:
# name: Build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: install node v14
# uses: actions/setup-node@v1
# with:
# node-version: 14
# - name: yarn install
# run: yarn install
# - 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
# - name: Setup environments
# run: mv .env.demo.local .env.production.local & echo 'MYSQL_ROOT_PASSWORD=YOUSHALLNOTPASS' > .env
# - name: Create needed files
# run: echo '{"tester":"DEMO_KEY"}' > secret.json
# - name: Build
# run: yarn build
# env:
# CI: true
test:
needs:
- ESLint