Skip to content

Merge pull request #58 from ably/basePath #37

Merge pull request #58 from ably/basePath

Merge pull request #58 from ably/basePath #37

Workflow file for this run

name: Check
on:
pull_request:
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read Tool Versions
id: tool-versions
run: echo "::set-output name=nodejs::$(sed -nr 's/nodejs ([0-9]+)/\1/p' .tool-versions)"
- uses: actions/setup-node@v2
with:
node-version: ${{ steps.tool-versions.outputs.nodejs }}
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Check that Build and Package runs
run: |
npm run build
npm run package