@jahia/create-module 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,8 @@
1
- name: Lint
2
- # This workflow is triggered on pushes to the repository.
1
+ name: On Code Change (PR)
2
+
3
3
  on:
4
- push:
5
- branches:
6
- - "**"
4
+ pull_request:
5
+ types: [opened, reopened, synchronize]
7
6
 
8
7
  jobs:
9
8
  lint:
@@ -35,3 +34,17 @@ jobs:
35
34
  - run: yarn set version stable
36
35
  - run: yarn
37
36
  - run: yarn jahia-pack
37
+
38
+ test:
39
+ needs: [build]
40
+ name: Test
41
+ runs-on: ubuntu-latest
42
+
43
+ container:
44
+ image: node:lts-alpine
45
+
46
+ steps:
47
+ - uses: actions/checkout@v4
48
+ - run: corepack enable
49
+ - run: yarn install
50
+ - run: yarn test