chore(deps-dev): bump prettier from 3.3.1 to 3.4.1 in /nodejs-debug #332
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: Format Lint | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
permissions: | |
contents: read # Job-level permissions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Prettier | |
run: | | |
npm install -g prettier | |
- name: Module 1 - nodejs-intro | |
run: | | |
cd nodejs-intro | |
npm install | |
npm run format | |
npm run lint | |
- name: Module 1 - nodejs-intro-esm | |
run: | | |
cd nodejs-intro-esm | |
npm install | |
npm run format | |
npm run lint | |
- name: Module 2 - node-dependencies | |
run: | | |
cd node-dependencies | |
npm install | |
npm run format | |
npm run lint | |
- name: Module 3 - nodejs-debug | |
run: | | |
cd node-dependencies | |
npm install | |
npm run format | |
npm run lint | |
- name: Module 4 - nodejs-files | |
run: | | |
cd nodejs-files | |
npm install | |
npm run format | |
npm run lint | |
- name: Module 5 - nodejs-http | |
run: | | |
cd nodejs-http | |
npm install | |
npm run format | |
npm run lint | |
- name: Module 6 - nodejs-route | |
run: | | |
cd nodejs-route | |
npm install | |
npm run format | |
npm run lint | |
- name: Docs - async iterators | |
# In JS Dev Center | |
run: | | |
cd async-iterators | |
npm install | |
npm run format | |
npm run lint |