Skip to content

Merge pull request #3642 from JoinColony/fix/3403-locked-token-valida… #4920

Merge pull request #3642 from JoinColony/fix/3403-locked-token-valida…

Merge pull request #3642 from JoinColony/fix/3403-locked-token-valida… #4920

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master, feature/*]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Cache NPM dependencies
uses: actions/cache@v3
id: cache
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- run: npm run typecheck
- run: npm run lint:ci
- run: npm run stylelint:ci
# Tests are disabled for now
# - run: npm run test:ci
- run: npm run build