-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathoperation-location-migration.yml
More file actions
43 lines (35 loc) · 1.05 KB
/
operation-location-migration.yml
File metadata and controls
43 lines (35 loc) · 1.05 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
name: operation-location-migration
on:
workflow_call:
env:
node-version: '24.x'
jobs:
operation-location-migration:
strategy:
matrix:
os: [ubuntu-22.04, windows-latest]
node-version: [20.x, 22.x, 24.x]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Restore node_modules cache
uses: actions/cache@v4
with:
path: |
node_modules
packages/*/node_modules
tools/*/node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-${{ runner.os }}-
- name: Lint
run: yarn nx lint operation-location-migration
- name: Test
run: yarn nx test operation-location-migration
- name: Build
run: yarn nx build operation-location-migration