Skip to content

Commit 37b58a1

Browse files
committed
Create amin-test.yaml
Signed-off-by: amin-nikanjam <[email protected]>
1 parent eda8f7a commit 37b58a1

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/amin-test.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Copyright 2023 The Serverless Workflow Specification Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# This workflow will triage pull requests and apply a label based on the
16+
# paths that are modified in the pull request.
17+
#
18+
# To use this workflow, you will need to set up a .github/labeler.yml
19+
# file with configuration. For more information, see:
20+
# https://github.com/actions/labeler/blob/master/README.md
21+
22+
name: Verify Specification Examples
23+
24+
on: workflow_dispatch
25+
26+
jobs:
27+
build:
28+
defaults:
29+
run:
30+
working-directory: .ci/validation/
31+
runs-on: ubuntu-latest
32+
strategy:
33+
matrix:
34+
node-version: [21.x]
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
- name: Use Node.js ${{ matrix.node-version }}
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: ${{ matrix.node-version }}
42+
cache: 'npm'
43+
cache-dependency-path: .ci/validation/package-lock.json
44+
- run: npm install
45+
- run: npm test

0 commit comments

Comments
 (0)