Skip to content

[pull] master from draft-js-plugins:master #48

[pull] master from draft-js-plugins:master

[pull] master from draft-js-plugins:master #48

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ matrix.node-version }}-${{ runner.OS }}-build-${{ hashFiles('yarn.lock') }}
- name: Install Dependencies
run: yarn
- name: Build
run: yarn build
- name: Tests
run: yarn test
- name: Linting
run: yarn lint