Update deploy workflow (shared package) #3
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: CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Use Node.js 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install, test | |
run: | | |
pnpm --ignore-scripts install | |
pnpm add concurrently | |
pnpm concurrently "pnpm test" "pnpm typecheck" "pnpm lint" | |
env: | |
ACCESS_KEY: ${{ secrets.ACCESS_KEY }} | |
SECRET_KEY: ${{ secrets.SECRET_KEY }} | |
S3_BUCKET: ${{ secrets.S3_BUCKET }} | |
AWS_REGION: eu-central-1 | |
WEBSOCKET_URL: ws://localhost:4321 | |
LOCAL_DIR: unused | |
PORT: 4321 |