update strings #40
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
on: | |
push: | |
paths: | |
- "**.json" | |
- "**.js" | |
- "**.jsx" | |
- "**.mjs" | |
- "**.ts" | |
- "**.tsx" | |
- "**.astro" | |
- "**.lockb" | |
- ".github/workflows/test.yml" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Test | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v1 | |
name: setup bun | |
with: | |
bun-version: 1.0.22 | |
- name: install dependencies | |
run: bun install | |
- name: setup data fixture & mock imports | |
run: | | |
mkdir -p site/src/generated | |
cp site/src/lib/server/__fixtures__/data.json site/src/generated/data.json | |
echo "---" > site/src/generated/killed.astro | |
echo "---" > site/src/generated/killed.astro | |
- name: run astro checks | |
run: bun run astro check | |
- name: run type check | |
run: bun run types | |
- name: run schema scheck | |
run: bun run schemas | |
- name: run unit tests | |
run: bun run test |