Feat: tokens #489
This file contains hidden or 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: "Console SDK Preview" | |
on: | |
pull_request: | |
paths: | |
- 'app/config/specs/*-latest-console.json' | |
jobs: | |
setup: | |
name: Setup & Build Console SDK | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Load and Start Appwrite | |
run: | | |
docker compose build | |
docker compose up -d | |
docker compose exec appwrite sdks --platform=console --sdk=web --version=latest --git=no | |
sudo chown -R $USER:$USER ./app/sdks/console-web | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Build and Publish SDK | |
working-directory: ./app/sdks/console-web | |
run: | | |
npm install | |
npm run build | |
npx pkg-pr-new publish --comment=update |