We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19d4ec commit e5eadffCopy full SHA for e5eadff
.github/workflows/build.yml
@@ -0,0 +1,38 @@
1
+name: ui-scroll build
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "**"
7
+ pull_request:
8
+ branches: [ master ]
9
+ workflow_dispatch:
10
+ inputs:
11
+ cause:
12
+ description: 'Reason'
13
+ required: true
14
+ default: 'Manual triggering'
15
16
+jobs:
17
+ build:
18
+ runs-on: ubuntu-latest
19
+ strategy:
20
+ matrix:
21
+ node-version: [18.x]
22
+ steps:
23
+ - name: Dispatched?
24
+ if: ${{ github.event_name == 'workflow_dispatch' }}
25
+ run: |
26
+ echo "This is dispatched"
27
+ echo "Build reason: ${{ github.event.inputs.cause }}"
28
29
+ - name: Checkout
30
+ uses: actions/checkout@v3
31
32
+ - name: Use Node.js ${{ matrix.node-version }}
33
+ uses: actions/setup-node@v3
34
+ with:
35
+ node-version: ${{ matrix.node-version }}
36
37
+ - run: npm ci
38
+ - run: npm test
.travis.yml
0 commit comments