@geolonia/embed 2.0.0-pre.4 → 2.0.1

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.
@@ -27,10 +27,10 @@ jobs:
27
27
  with:
28
28
  path: node_modules
29
29
  key: modules-cache-v1-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
30
- - run: npm install
31
- - run: npm run lint
32
- - run: npm test
33
- - run: npm run build
30
+ - run: yarn install
31
+ - run: yarn lint
32
+ - run: yarn test
33
+ - run: yarn build
34
34
  - name: save the built
35
35
  uses: actions/upload-artifact@v2
36
36
  if: "!failure()"
@@ -54,8 +54,8 @@ jobs:
54
54
  with:
55
55
  path: node_modules
56
56
  key: modules-cache-v1-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
57
- - run: npm install
58
- - run: "npm run build"
57
+ - run: yarn install
58
+ - run: "yarn build"
59
59
  - name: Build and push to local registry
60
60
  uses: docker/build-push-action@v2
61
61
  with:
package/Dockerfile CHANGED
@@ -42,7 +42,7 @@ RUN apt-get update && apt-get install -y \
42
42
  fonts-ipafont-mincho \
43
43
  fonts-ipafont-gothic
44
44
  COPY . .
45
- RUN npm install
45
+ RUN yarn install
46
46
  ENV GEOLONIA_API_KEY=YOUR-API-KEY
47
47
  ENV NO_SANDBOX=true
48
- ENTRYPOINT ["npm", "run", "test:snapshot"]
48
+ ENTRYPOINT ["yarn", "test:snapshot"]
package/README.md CHANGED
@@ -23,7 +23,7 @@ Specify `.geolonia` class for target elements.
23
23
  <html>
24
24
  <body>
25
25
  <div class="geolonia" ...></div>
26
- <script src="https://cdn.geolonia.com/v1/embed?geolonia-api-key=API-KEY"></script>
26
+ <script src="https://cdn.geolonia.com/v1/embed?geolonia-api-key=YOUR-API-KEY"></script>
27
27
  </body>
28
28
  </html>
29
29
  ```