Skip to content

Commit

Permalink
feat: move to npm instad of yarn (#80)
Browse files Browse the repository at this point in the history
* feat: move to npm instad of yarn

* fix: dep review
  • Loading branch information
xavidop authored Nov 7, 2024
1 parent e7190d0 commit 585b533
Show file tree
Hide file tree
Showing 10 changed files with 5,051 additions and 2,362 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: yarn
cache: npm
node-version: lts/*
- uses: github/codeql-action/init@v3
- uses: github/codeql-action/autobuild@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/depsreview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/dependency-review-action@v4
with:
allow-licenses: BSD-2-Clause, BSD-3-Clause, MIT, Apache-2.0, MPL-2.0, ISC, LGPL-3.0
allow-licenses: BSD-2-Clause, BSD-3-Clause, MIT, Apache-2.0, MPL-2.0, ISC, LGPL-3.0, 0BSD
10 changes: 3 additions & 7 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: yarn
cache: npm
node-version: lts/*
- name: install
uses: borales/actions-yarn@v5
with:
cmd: install --frozen-lockfile
run: npm install --frozen-lockfile
- name: lint
uses: borales/actions-yarn@v5
with:
cmd: lint
run: npm run lint
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache: 'npm'
- name: install
uses: borales/actions-yarn@v5
with:
cmd: install --frozen-lockfile
- run: yarn build
run: npm install --frozen-lockfile
- run: npm run build
- name: SonarCloud Scan
if: env.SONAR_TOKEN != null
uses: SonarSource/sonarcloud-github-action@v3
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
cache: npm
node-version: lts/*
- name: install
uses: borales/actions-yarn@v5
with:
cmd: install --frozen-lockfile
- run: yarn build
run: npm install --frozen-lockfile
- run: npm run build
# pinned version updated automatically by Renovate.
# details at https://semantic-release.gitbook.io/semantic-release/usage/installation#global-installation
- run: npx semantic-release@21.0.2
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,12 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: yarn
cache: npm
node-version: lts/*
- name: install
uses: borales/actions-yarn@v5
with:
cmd: install --frozen-lockfile
run: npm install --frozen-lockfile
- name: install
uses: borales/actions-yarn@v5
with:
cmd: docs
run: npm run docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ This Genkit plugin allows to use GitHub models through their official APIs.
Install the plugin in your project with your favorite package manager:

- `npm install genkitx-github`
- `yarn add genkitx-github`
- `pnpm add genkitx-github`

## Usage
Expand Down
Loading

0 comments on commit 585b533

Please sign in to comment.