chore(deps): Bump yaml, @commitlint/cli and lint-staged #82
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: build | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v2 | |
- name: Setup node environment | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
registry-url: https://registry.npmjs.org/ | |
- name: Download cache | |
uses: actions/cache@v2.0.0 | |
with: | |
key: cds2types-cache | |
path: node_modules | |
- name: Install and build | |
run: | | |
yarn install | |
yarn build | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: cds2types-artifacts | |
path: bin |