@formio/angular 7.5.0-dev.1060.b272e25 → 7.5.0-dev.1060.f7c9795

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.
@@ -70,14 +70,6 @@ jobs:
70
70
  - name: Show build directory contents
71
71
  run: |
72
72
  ls -R ./dist/angular-formio
73
-
74
- - name: Cache build directory
75
- uses: actions/cache@v3
76
- with:
77
- path: dist
78
- key: ${{ runner.os }}-dist-${{ hashFiles('dist.tgz') }}
79
- restore-keys: |
80
- ${{ runner.os }}-dist-
81
73
 
82
74
  #####################################################################
83
75
  ## Test (Trys to launch a chrome browser, will need additional work)
@@ -120,6 +112,23 @@ jobs:
120
112
  cache: 'npm'
121
113
  registry-url: 'https://registry.npmjs.org/'
122
114
 
115
+ - name: Restore node modules from cache
116
+ uses: actions/cache@v3
117
+ with:
118
+ path: node_modules
119
+ key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
120
+ restore-keys: |
121
+ ${{ runner.os }}-node-
122
+
123
+ - name: Build
124
+ uses: borales/actions-yarn@v4
125
+ with:
126
+ cmd: build:prod
127
+
128
+ - name: Show dist directory contents
129
+ run: |
130
+ ls -R ./dist/angular-formio
131
+
123
132
  - name: Prepare version for publish
124
133
  id: prep
125
134
  run: |
@@ -142,18 +151,7 @@ jobs:
142
151
  - name: Echo version to Publish
143
152
  run: |
144
153
  echo "Version to publish: $NEW_VERSION"
145
-
146
- # Restore Build cache
147
- - name: Restore build cache
148
- uses: actions/cache@v3
149
- with:
150
- path: dist
151
- key: ${{ runner.os }}-dist-${{ hashFiles('dist.tgz') }}
152
- restore-keys: |
153
- ${{ runner.os }}-dist-
154
-
155
- - name: Switch to dist directory
156
- run: cd ./dist/angular-formio
154
+ cd ./dist/angular-formio
157
155
 
158
156
  - name: Configure Git user
159
157
  run: |
@@ -166,6 +164,7 @@ jobs:
166
164
 
167
165
  - name: Publish to npm
168
166
  run: |
167
+ # git status
169
168
  npm version $NEW_VERSION --no-git-tag-version
170
169
  npm publish --tag=dev
171
170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/angular",
3
- "version": "7.5.0-dev.1060.b272e25",
3
+ "version": "7.5.0-dev.1060.f7c9795",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "build": "ng build angular-formio",