mirror of
https://github.com/koreanbots/core.git
synced 2026-02-01 17:20:24 +00:00
ci: updated trigger
This commit is contained in:
parent
8683b8a908
commit
a20a8b18bd
9
.github/workflows/testing.yml
vendored
9
.github/workflows/testing.yml
vendored
@ -1,10 +1,5 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on:
|
on: [push, pull_request]
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
- '!master'
|
|
||||||
jobs:
|
jobs:
|
||||||
eslint:
|
eslint:
|
||||||
name: ESLint
|
name: ESLint
|
||||||
@ -57,7 +52,7 @@ jobs:
|
|||||||
- 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
|
||||||
if: github.ref == 'refs/heads/master'
|
if: success() && github.ref == 'refs/heads/master'
|
||||||
run: yarn build
|
run: yarn build
|
||||||
env:
|
env:
|
||||||
NEXT_PUBLIC_SENTRY_SERVER_ROOT_DIR: ./api
|
NEXT_PUBLIC_SENTRY_SERVER_ROOT_DIR: ./api
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user