🚨 [security] Update rollup 2.58.0 → 2.79.2 (minor) #219
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: "Code Check" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
eslint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
if: "!(contains(github.event.head_commit.message, '[skip codecheck]') || contains(github.event.head_commit.message, '[skip codecheck eslint]'))" | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v2 | |
- name: Install NodeJS v12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Restore CI Cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-12-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn --ignore-scripts --frozen-lockfile | |
- name: Run ESLint | |
uses: icrawl/action-eslint@v1 | |
tsc: | |
name: TSC | |
runs-on: ubuntu-latest | |
if: "!(contains(github.event.head_commit.message, '[skip codecheck]') || contains(github.event.head_commit.message, '[skip codecheck tsc]'))" | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v2 | |
- name: Install NodeJS v12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Restore CI Cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-12-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn --ignore-scripts --frozen-lockfile | |
- name: Run TSC | |
uses: icrawl/action-tsc@v1 | |
with: | |
build: src |