You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
682 B
YAML
35 lines
682 B
YAML
name: Lint Code
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Site
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: crystal-linux/getcryst.al
|
|
path: getcryst.al
|
|
|
|
- name: Checkout Self
|
|
uses: actions/checkout@v3
|
|
with:
|
|
path: getcryst.al/_docs
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v3
|
|
|
|
- name: Install
|
|
working-directory: getcryst.al
|
|
run: yarn install --frozen-lockfile
|
|
|
|
- name: Test Build
|
|
working-directory: getcryst.al
|
|
run: yarn build
|
|
|