-
Notifications
You must be signed in to change notification settings - Fork 545
59 lines (50 loc) · 1.49 KB
/
source_airtable.yml
File metadata and controls
59 lines (50 loc) · 1.49 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Source Plugin Airtable Workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- "plugins/source/airtable/**"
- ".github/workflows/source_airtable.yml"
push:
branches:
- main
paths:
- "plugins/source/airtable/**"
- ".github/workflows/source_airtable.yml"
permissions:
contents: read
jobs:
plugins-source-airtable:
timeout-minutes: 30
name: "plugins/source/airtable"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./plugins/source/airtable
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
with:
package_json_file: './plugins/source/airtable/package.json'
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: '24'
cache: 'pnpm'
cache-dependency-path: './plugins/source/airtable/pnpm-lock.yaml'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: |
pnpm run lint
- name: Build
run: |
pnpm run build
-
# Required for the package command tests to work
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
- name: Test
run: |
pnpm run test