Bump prettier from 2.8.8 to 3.0.0 #67
Workflow file for this run
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: | |
# The branches below must be a subset of the branches above | |
branches: [master, develop] | |
workflow_dispatch: | |
inputs: | |
reason: | |
description: "Reason" | |
required: true | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 12 | |
registry-url: https://registry.npmjs.org/ | |
# Skip post-install scripts here, as a malicious | |
# script could steal NODE_AUTH_TOKEN. | |
- name: Install NPM dependencies | |
run: npm install --ignore-scripts | |
- name: Run linting | |
run: npm run lint | |
- name: Run tests | |
run: npm run test-ci | |
pack: | |
name: NPM Pack | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 12 | |
registry-url: https://registry.npmjs.org/ | |
# Skip post-install scripts here, as a malicious | |
# script could steal NODE_AUTH_TOKEN. | |
- name: Install NPM dependencies | |
run: npm install --ignore-scripts --production | |
- name: Run NPM pack | |
run: npm pack |