Skip to content

Commit

Permalink
added install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Weber committed Nov 17, 2024
1 parent 050ed42 commit 7d68572
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- uses: ioBroker/testing-action-check@v1
with:
node-version: "22.x"
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
lint: true

# Runs adapter tests on all supported node versions and OSes
Expand All @@ -39,16 +40,13 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- uses: ioBroker/testing-action-adapter@v1
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'

# TODO: To enable automatic npm releases, create a token on npmjs.org
# Enter this token as a GitHub secret (with name NPM_TOKEN) in the repository options
# Done.

# Deploys the final package to NPM
deploy:
Expand All @@ -63,11 +61,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- uses: ioBroker/testing-action-deploy@v1
with:
node-version: "14.x"
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
# # When using Sentry for error reporting, Sentry can be informed about new releases
Expand Down

0 comments on commit 7d68572

Please sign in to comment.