Merge pull request #1181 from KunoichiZ/depfu/update/yarn/@types/node… #2325
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
Building: | |
name: Compile source code | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v2 | |
- name: Use Node.js 14 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: Restore CI Cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-14-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn --ignore-scripts --frozen-lockfile | |
- name: Copy Configuration | |
run: | | |
pushd src && | |
cp config.example.ts config.ts && | |
popd | |
- name: Compile TypeScript | |
uses: icrawl/action-tsc@v1 | |
with: | |
build: src |