Update dependency @types/react to v17.0.64 #1157
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
# For now | |
name: build | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
check-latest: false | |
cache: yarn | |
- run: yarn install | |
- run: yarn build | |
- run: yarn test-with-coverage | |
if: "!contains(github.event.head_commit.message, 'skip test')" | |
- name: Deploy to github pages | |
uses: crazy-max/[email protected] | |
with: | |
build_dir: build | |
env: | |
GITHUB_TOKEN: ${{ secrets.PERSONALACCESSTOKEN }} | |
if: "contains(github.ref, 'main')" | |
- uses: codecov/[email protected] | |
if: "!contains(github.event.head_commit.message, 'skip test')" | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |