Skip to content

Commit

Permalink
chore: set npm publish as before
Browse files Browse the repository at this point in the history
  • Loading branch information
manumena committed Aug 25, 2022
1 parent 5f51530 commit 44e99bb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ jobs:
- uses: actions/checkout@master
- name: get latest release and export as GIT_TAG
run: echo "GIT_TAG=refs/tags/$(git tag | sort -V | tail -1)" > $GITHUB_ENV
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-
- name: Install node dependencies
run: npm install
- name: NPM Publish
uses: menduz/oddish-action@master
with:
Expand Down

0 comments on commit 44e99bb

Please sign in to comment.