Skip to content

Fixed CI configuration #186

Fixed CI configuration

Fixed CI configuration #186

name: Validate commit
on:
pull_request:
push:
branches:
- "**"
tags-ignore:
- "v*.*" # We don't want this to run on release
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v3.0.2
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn run build
- run: yarn test
- run: yarn run lint