Merge pull request #112 from nbudin/dependabot/npm_and_yarn/express-4… #77
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: Continuous integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
jobs: | |
eslint: | |
name: eslint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Read .node-version | |
id: node-version | |
run: echo "node-version=$(cat .node-version)" >> $GITHUB_OUTPUT | |
- name: install node | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: ${{ steps.node-version.outputs.node-version }} | |
- name: yarn install | |
run: yarn install | |
- name: yarn run lint | |
run: yarn run lint | |
typescript: | |
name: typescript | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Read .node-version | |
id: node-version | |
run: echo "node-version=$(cat .node-version)" >> $GITHUB_OUTPUT | |
- name: install node | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: ${{ steps.node-version.outputs.node-version }} | |
- name: yarn install | |
run: yarn install | |
- name: tsc on resulting generated files | |
run: yarn run tsc --noEmit |