Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Feature/add readme info #7

Feature/add readme info

Feature/add readme info #7

Workflow file for this run

name: 'Run tests'
on: [pull_request]
jobs:
test:
runs-on: [self-hosted, cere-io-large]
steps:
- name: 'Checkout'
uses: 'actions/checkout@v1'
- name: Read .nvmrc
id: nvmrc
run: echo "##[set-output name=NODE_VERSION;]$(cat .nvmrc)"
- name: 'Set up NodeJSs'
uses: 'actions/setup-node@v1'
with:
node-version: '${{ steps.nvmrc.outputs.NODE_VERSION }}'
- name: 'Install node modules'
run: npm ci
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN_READ}}
- name: 'Check ts build'
run: npm run build
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN_READ}}
- name: 'Check lint'
run: npm run lint
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}