Skip to content

Commit

Permalink
Merge pull request #281 from tsamaya/feature/pnpm
Browse files Browse the repository at this point in the history
uses pnpm
  • Loading branch information
tsamaya authored Apr 28, 2024
2 parents c7496cb + 31633ac commit b0d007a
Show file tree
Hide file tree
Showing 8 changed files with 8,844 additions and 19,596 deletions.
33 changes: 0 additions & 33 deletions .circleci/config.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/meterian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ on:
push:
branches:
- master
pull_request:
branches:
- master
- main

jobs:
meterian_scan:
Expand Down
27 changes: 18 additions & 9 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,39 @@ name: Node.js CI

on:
push:
branches: ['master']
branches:
- master
- main
pull_request:
branches: ['master']
branches:
- master
- main

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8 # https://pnpm.io/installation#compatibility
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
# - run: npm test
# env:
# OPENCAGE_API_KEY: ${{ secrets.OPENCAGE_API_KEY }}
- run: npm run build --if-present
cache: 'pnpm'
- run: pnpm install
- run: pnpm lint
- run: pnpm test
env:
OPENCAGE_API_KEY: ${{ secrets.OPENCAGE_API_KEY }}
- run: pnpm run build
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion dist/opencage-api.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/opencage-api.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit b0d007a

Please sign in to comment.