Skip to content

Merge pull request #24 from cosmos/improvements #15

Merge pull request #24 from cosmos/improvements

Merge pull request #24 from cosmos/improvements #15

Workflow file for this run

name: "Main"
on:
- push
jobs:
configure:
runs-on: ubuntu-latest
outputs:
uid_gid: ${{ steps.get-user.outputs.uid_gid }}
datetime: ${{ steps.get-datetime.outputs.datetime }}
steps:
- id: get-user
run: echo "::set-output name=uid_gid::$(id -u):$(id -g)"
- id: get-datetime
run: echo "::set-output name=datetime::$(date +'%Y%m%d%H%M%S')"
build:
needs: [configure]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Install node
uses: actions/setup-node@v2
- name: Install dependencies
run: yarn install
- name: Run linter
run: yarn lint
- name: Run formatter
run: yarn format
- name: Build
run: yarn build
- name: Unit tests
run: yarn test