style fix for board while waiting for player 2 #23
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: Deploy PartyKit | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
party: | |
- 'src/party/**' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- run: npm ci | |
if: steps.filter.outputs.party == 'true' | |
- run: npx partykit deploy | |
if: steps.filter.outputs.party == 'true' | |
env: | |
GITHUB_TOKEN: ${{ secrets.PARTYKIT_GITHUB_TOKEN }} | |
GITHUB_LOGIN: tsriram |