diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index ade2e5a..1066922 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -5,7 +5,7 @@ on: types: [published] jobs: - build: + build-and-version: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -18,6 +18,7 @@ jobs: run: | docker run -d -p 6379:6379 redis npm test + - run: npm version from-git -m "Release %s" publish-npm: needs: build