This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
chore(deps): update dependency @types/react to v18.2.41 #2596
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 and Release | |
on: push | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
- name: Keep npm cache around to speed up installs | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }} | |
- name: Install dependencies | |
run: npm ci --no-audit | |
- name: Compile TypeScript | |
run: npx tsc | |
- name: Check source code with eslint | |
run: | |
npx eslint --fix --ext .js,.ts,.jsx,.tsx --ignore-pattern | |
commitlint.config.js --ignore-path .gitignore ./ | |
- name: Check if source code is properly formatted | |
run: npx prettier -c ./ | |
- name: Build | |
run: npm run build | |
- name: Semantic release | |
continue-on-error: true | |
run: npx semantic-release |