Skip to content

Merge pull request #1225 from KunoichiZ/depfu/update/yarn/@sapphire/e… #2408

Merge pull request #1225 from KunoichiZ/depfu/update/yarn/@sapphire/e…

Merge pull request #1225 from KunoichiZ/depfu/update/yarn/@sapphire/e… #2408

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