This repository has been archived by the owner on Apr 7, 2024. It is now read-only.
Bump @types/react-dom from 18.2.18 to 18.2.23 #863
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Node.js CI | |
on: | |
# push: | |
# branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Cancel Workflow Action | |
uses: styfle/cancel-workflow-action@0.10.1 | |
with: | |
access_token: ${{ github.token }} | |
- name: Read .nvmrc | |
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | |
id: nvm | |
- name: Use Node.js ${{ steps.nvm.outputs.NVMRC }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ steps.nvm.outputs.NVMRC }} | |
cache: 'pnpm' | |
- name: Run test tasks | |
run: | | |
pnpm install | |
pnpm run lint:code --quiet | |
pnpm run lint:style --quiet | |
pnpm run test --silent | |
pnpm run start --smoke-test | |
pnpm run start:docs --smoke-test --quiet | |
pnpm run build:lib |