✨[추가] 데보션 - 다가오는 Automated AI 시대, 그 기반 기술과 적용사례 #646
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: links | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: '0 14 * * 1-5' | |
jobs: | |
check_links: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@master | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@master | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn add markdown-link-extractor@4.0.1 axios@1.2.0 | |
- name: Check links | |
run: | | |
JS_FILE=${{ secrets.JS_FILE }} | |
JS_FILE=${JS_FILE:-"https://gist.githubusercontent.com/hibuz/831124fa3baf6eb173e99611c03ed6ed/raw/476d7e1f65e19f35f318a536420568c05a400e66/links.mjs"} | |
curl --silent --output index.mjs ${JS_FILE} | |
node index.mjs |