Skip to content

Commit

Permalink
chore: switch to using npm (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
morremeyer authored Aug 14, 2023
1 parent f303f94 commit b89c647
Show file tree
Hide file tree
Showing 19 changed files with 25,955 additions and 15,996 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-bank2ynab-converter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
cache: yarn
cache: npm
always-auth: true
cache-dependency-path: yarn.lock
cache-dependency-path: package-lock.json

- run: yarn
- run: npm install

- name: publish bank2-ynab-converter
run: |
cd packages/ynap-bank2ynab-converter
yarn publish
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/publish-parsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
cache: yarn
cache: npm
always-auth: true
cache-dependency-path: yarn.lock
cache-dependency-path: package-lock.json

- run: yarn
- run: npm install

- name: publish parsers
run: |
cd packages/ynap-bank2ynab-converter
yarn build
npm run build
cd ../ynap-parsers
yarn publish
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/test-bank2ynab-converter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install and run
run: |
yarn
npm install
cd packages/ynap-bank2ynab-converter
yarn start
npm run start
env:
CI: true

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-parsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:

- name: Install, Build, and Test
run: |
yarn install
npm install
cd packages/ynap-bank2ynab-converter
yarn build
npm run build
cd ../ynap-parsers
yarn build
yarn test --coverage
npm run build
npm run test --coverage
env:
CI: true

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-web-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:

- name: Install, Build, and Test
run: |
yarn
npm install
cd packages/ynap-bank2ynab-converter
yarn build
npm run build
cd ../ynap-parsers
yarn build
npm run build
cd ../ynap-web-app
yarn build
npm run build
env:
CI: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version-bump-bank2ynab-converter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
cache: yarn
cache-dependency-path: yarn.lock
cache: npm
cache-dependency-path: package-lock.json

- name: Get the latest published version from the registry
run: echo version=$(npm view @envelope-zero/ynap-bank2ynab-converter --json | jq -r .version) >> $GITHUB_OUTPUT
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version-bump-parsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
cache: yarn
cache-dependency-path: yarn.lock
cache: npm
cache-dependency-path: package-lock.json

- name: Get the latest published version from the registry
run: echo version=$(npm view @envelope-zero/ynap-parsers --json | jq -r .version) >> $GITHUB_OUTPUT
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ node_modules/
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.npmrc
12 changes: 0 additions & 12 deletions lerna.json

This file was deleted.

4 changes: 0 additions & 4 deletions netlify.toml

This file was deleted.

Loading

0 comments on commit b89c647

Please sign in to comment.