~repos /atoms-element
git clone https://pyrossh.dev/repos/atoms-element.git
A simple web component library for defining your custom elements. It works on both client and server.
de8bdb41
—
Peter John 4 years ago
add github workflow
- .github/workflows/main.yml +26 -0
.github/workflows/main.yml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
on: [push]
|
|
3
|
+
jobs:
|
|
4
|
+
build:
|
|
5
|
+
name: Test ${{ matrix.node }} and ${{ matrix.os }}
|
|
6
|
+
|
|
7
|
+
runs-on: ${{ matrix.os }}
|
|
8
|
+
strategy:
|
|
9
|
+
matrix:
|
|
10
|
+
node: ['14.x']
|
|
11
|
+
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout repo
|
|
15
|
+
uses: actions/checkout@v2
|
|
16
|
+
|
|
17
|
+
- name: Use Node ${{ matrix.node }}
|
|
18
|
+
uses: actions/setup-node@v1
|
|
19
|
+
with:
|
|
20
|
+
node-version: ${{ matrix.node }}
|
|
21
|
+
|
|
22
|
+
- name: Install
|
|
23
|
+
uses: bahmutov/npm-install@v1
|
|
24
|
+
|
|
25
|
+
- name: Test
|
|
26
|
+
run: npm test
|