forked from fedify-dev/fedify
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 1.15 KB
/
Copy pathexamples.yaml
File metadata and controls
41 lines (36 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: examples
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test-astro-compat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-mise
- run: mise run --skip-deps test:astro-compat
build-astro:
runs-on: ubuntu-latest
strategy:
matrix:
runtime: [node, deno, bun]
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: ./.github/actions/setup-mise
- if: matrix.runtime == 'node'
run: pnpm build
working-directory: ${{ github.workspace }}/examples/astro
- if: matrix.runtime == 'deno'
run: pnpm build:deno
working-directory: ${{ github.workspace }}/examples/astro
- if: matrix.runtime == 'bun'
run: pnpm build:bun
working-directory: ${{ github.workspace }}/examples/astro