Skip to content

Commit

Permalink
Fix Bugs & Edit Scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
heptacode committed Oct 17, 2022
1 parent 00297bf commit f93bb03
Show file tree
Hide file tree
Showing 28 changed files with 443 additions and 331 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ jobs:
key: lint-${{ hashFiles('**/.eslintcache') }}
restore-keys: lint-

- run: yarn
- name: Install Packages
run: yarn

- run: yarn lint
- name: Run Lint
run: yarn lint

typecheck:
runs-on: ubuntu-latest
Expand All @@ -38,6 +40,8 @@ jobs:
key: typecheck-${{ hashFiles('**/*.tsbuildinfo') }}
restore-keys: typecheck-

- run: yarn
- name: Install Packages
run: yarn

- run: yarn typecheck
- name: Run Typecheck
run: yarn typecheck
8 changes: 5 additions & 3 deletions .github/workflows/healthCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ jobs:
key: lint-${{ hashFiles('**/.eslintcache') }}
restore-keys: lint-

- run: yarn
- name: Install Packages
run: yarn

- run: yarn test
- name: Run Test
run: yarn test
env:
THECAMP_ID: ${{ secrets.THECAMP_ID }}
THECAMP_PW: ${{ secrets.THECAMP_PW }}
THECAMP_PW: ${{ secrets.THECAMP_PW }}
38 changes: 0 additions & 38 deletions .github/workflows/sendNews.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/sendNews.yml.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: send-news

on:
schedule:
- cron: '0 3 * * *' # At KST 12:00 (UTC 03:00) everyday
workflow_dispatch:

jobs:
send-news:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16

- name: Install Packages
run: yarn

- name: Build
run: yarn build

- name: Execute Send News
working-directory: examples
run: ../.scripts/sendNews.sh
env:
THECAMP_ID: ${{ secrets.THECAMP_ID }}
THECAMP_PW: ${{ secrets.THECAMP_PW }}
Loading

0 comments on commit f93bb03

Please sign in to comment.