Skip to content

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

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

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

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@2541b1294d2704b0964813337f33b291d3f8596b
- name: Use Node.js v18
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with:
node-version: 18
cache: yarn
- 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: Build code
run: yarn build