Skip to content

todo example jsx state types #361

todo example jsx state types

todo example jsx state types #361

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up caching for npm
id: cache-node_modules
uses: actions/cache@v2
with:
path: |
~/.npm
**/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: Install Node packages
if: steps.cache-node_modules.outputs.cache-hit != 'true'
env:
NODE_ENV: development
run: |
npm ci --silent
- name: Run all pre-release checks and validate no changed files
run: |
npm run pre-release
[[ -z $(git status -s) ]] || (git status -s; echo "changes to files in CI"; exit 1);