-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 836 Bytes
/
main.yml
File metadata and controls
32 lines (28 loc) · 836 Bytes
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
name: building the extension
on:
push:
paths:
- 'Extensions/tidBits/**'
- 'Extensions/skipAlong/**'
jobs:
run_command:
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install web-ext
run: npm install -g web-ext
- name: Run web-ext in tidBits directory
if: ${{ contains(github.event.modified_files, 'Extensions/tidBits/') }}
run: |
cd Extensions/tidBits
web-ext build
- name: Run web-ext in skipAlong directory
if: ${{ contains(github.event.modified_files, 'Extensions/skipAlong/') }}
run: |
cd Extensions/skipAlong
web-ext build