add test workflow
parent
fee7e099db
commit
ba77c4a63b
@ -0,0 +1,34 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue