Bump html-react-parser from 2.0.0 to 4.2.7 #352
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
- name: npm install | |
run: npm ci | |
- name: lint ts | |
run: npm run lint:ts | |
- name: lint types | |
run: npm run lint:types | |
- name: lint css | |
run: npm run lint:css | |
build: | |
runs-on: ubuntu-latest | |
env: | |
NODE_ENV: production | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
- name: npm install | |
run: npm ci | |
- name: build | |
run: npm run build |