Skip to content

Commit

Permalink
ci: add build and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
edbzn committed Oct 19, 2023
1 parent 7b9a2f7 commit ac26520
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 24 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build-and-lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: yarn install --frozen-lockfile

- name: Lint
run: yarn lint

- name: Lint
run: yarn build

user-flow:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: yarn install --frozen-lockfile

- name: Executing user-flow CLI
uses: push-based/user-flow-gh-action@v0.2.0
with:
verbose: 'on'
rcPath: ./projects/todo-mvc/.user-flowrc.json
24 changes: 0 additions & 24 deletions .github/workflows/user-flow.yml

This file was deleted.

0 comments on commit ac26520

Please sign in to comment.