fix(deps): bump with-simple-caching version (#15) #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci_on_commit | |
on: | |
push: | |
branches: # run for any branch | |
- '**' | |
tags-ignore: # but not for releases, as deploy_on_tag will trigger for it | |
- v* | |
jobs: | |
install: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: install | |
run: npm install | |
- name: cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ github.sha }} | |
# run tests in parallel | |
test_types: | |
runs-on: ubuntu-20.04 | |
needs: [install] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: grab node_modules from cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ github.sha }} | |
- name: test:types | |
run: npm run test:types | |
test_format: | |
runs-on: ubuntu-20.04 | |
needs: [install] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: grab node_modules from cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ github.sha }} | |
- name: test:format | |
run: npm run test:format | |
test_lint: | |
runs-on: ubuntu-20.04 | |
needs: [install] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: grab node_modules from cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ github.sha }} | |
- name: test:lint | |
run: npm run test:lint | |
test_unit: | |
runs-on: ubuntu-20.04 | |
needs: [install] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: grab node_modules from cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ github.sha }} | |
- name: test:unit | |
run: npm run test:unit |