1
1
mirror of https://github.com/theoludwig/react-component-form.git synced 2024-11-09 22:08:47 +01:00
react-component-form/.github/workflows/test.yml

26 lines
421 B
YAML
Raw Normal View History

2021-06-17 18:48:19 +02:00
name: 'Test'
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2'
- name: 'Use Node.js'
2022-02-19 17:18:13 +01:00
uses: 'actions/setup-node@v2.5.1'
2021-06-17 18:48:19 +02:00
with:
2022-02-19 17:18:13 +01:00
node-version: 'lts/*'
cache: 'npm'
2021-06-17 18:48:19 +02:00
- name: 'Install'
2022-02-19 17:18:13 +01:00
run: 'npm install'
2021-06-17 18:48:19 +02:00
- name: 'Test'
run: 'npm run test'