Skip to content

Commit

Permalink
gha
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed Jul 2, 2024
1 parent 08614a9 commit edf5136
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -34,9 +34,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}


- name: Install Dependencies
run: npm ci
- name: Build project
run: npm run build

# Runs adapter tests on all supported node versions and OSes
lib-tests:
Expand All @@ -59,6 +60,8 @@ jobs:

- name: Install Dependencies
run: npm ci
- name: Build project
run: npm run build

# - name: Run local tests
# run: npm test
Expand Down Expand Up @@ -105,9 +108,10 @@ jobs:
- name: Install Dependencies
run: npm ci
#Automatically generate binaries for Win/MacOS/Linux
- name: Create Tokensaver binaries
run: npm run build-tokensaver

- name: Build project
run: npm run build

- name: Publish package to npm
run: |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit edf5136

Please sign in to comment.