Document Service Templating more Clearly, move to more prominent loca… #762
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: Lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v3 | |
- name: Read Node.js version from package.json | |
run: echo "nodeVersion=$(node -p "require('./package.json').engines.node")" >> $GITHUB_OUTPUT | |
id: engines | |
- name: 'Setup Node' | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ steps.engines.outputs.nodeVersion }} | |
- run: yarn --immutable | |
- run: yarn lint |