Skip to content

chore(deps): update dependency @codesandbox/sandpack-react to v2 #728

chore(deps): update dependency @codesandbox/sandpack-react to v2

chore(deps): update dependency @codesandbox/sandpack-react to v2 #728

Workflow file for this run

name: Build and test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn --cwd www install --frozen-lockfile
- run: yarn test --coverage
- run: node_modules/.bin/codecov
- if: ${{ github.ref == 'refs/heads/master' }}
run: yarn --cwd www build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./www/build