Fikser konsistent bruk av ENV og NODE_ENV variabler. Tar i bruk BOOST_ENV for chatbot #93
Workflow file for this run
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: PR Test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.14.0 | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.1.11 | |
- name: Install dependencies | |
run: bun install --immutable --ignore-scripts | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
- run: bun run build | |
- run: bun run test | |
- run: bunx playwright install --with-deps | |
- run: cp packages/server/.env.sample packages/server/.env | |
- run: bunx playwright test |