✨[추가] 팀네이버 컨퍼런스 DAN 24 #1196
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: [18.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 [email protected] [email protected] | |
- 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 |