Skip to content

Commit

Permalink
test release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
holomekc committed Dec 2, 2023
1 parent 7d8ffc6 commit ca51686
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ concurrency:
jobs:
# Performs quick checks before the expensive test runs
check-and-lint:
#if: contains(github.event.head_commit.message, '[skip ci]') == false
if: false
if: contains(github.event.head_commit.message, '[skip ci]') == false

runs-on: ubuntu-latest

Expand All @@ -34,8 +33,7 @@ jobs:

# Runs adapter tests on all supported node versions and OSes
adapter-tests:
#if: contains(github.event.head_commit.message, '[skip ci]') == false
if: false
if: contains(github.event.head_commit.message, '[skip ci]') == false

needs: [ check-and-lint ]

Expand All @@ -56,7 +54,7 @@ jobs:

# Release the final package to NPM
release:
#needs: [ adapter-tests ]
needs: [ adapter-tests ]

runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -93,12 +91,12 @@ jobs:
- name: Create a clean build
run: npm run pack

# - name: Publish package to npm
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: |
# npm whoami
# npm publish
- name: Publish package to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm whoami
npm publish
- name: Create Github Release
id: create_release
Expand Down

0 comments on commit ca51686

Please sign in to comment.