Skip to content

Commit

Permalink
Add in NPM lock
Browse files Browse the repository at this point in the history
  • Loading branch information
samamorgan committed Oct 18, 2022
1 parent a404676 commit 962084f
Show file tree
Hide file tree
Showing 4 changed files with 8,115 additions and 11 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/project_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,9 @@ jobs:
cache: "npm"
cache-dependency-path: "**/package-lock.json"

- name: Install and build Node package
- name: Install NPM package
working-directory: ./sampleapp
run: |
npm install
npm run build
run: npm install

- name: Install Sample App dependencies
working-directory: ./sampleapp
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,3 @@ com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
testapp/

#use yarn, not npm
package-lock.json
6 changes: 2 additions & 4 deletions {{cookiecutter.repo_name}}/.github/workflows/django_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,8 @@ jobs:
cache: "npm"
cache-dependency-path: "**/package-lock.json"

- name: Setup Node
- run: |
npm install
npm run build
- name: NPM package
- run: npm install

- name: Install and configure Poetry
uses: snok/install-poetry@e3dbfd357f4751d4f582d62bc8a71e56c2a7015b # v1.3.2
Expand Down
Loading

0 comments on commit 962084f

Please sign in to comment.