Skip to content

Commit

Permalink
update: setup nodejs env in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Abraham-Flutterwave committed May 22, 2023
1 parent 4e998da commit b7afe50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/actions/make-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ runs:
env:
RELEASE_FILENAME: "rave-woocommerce-payment-gateway.zip"
run: |
nvm install
nvm use
npm install
npm run build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
if: ${{ always() }}
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version-file: .nvmrc
- name: Build Plugin
uses: ./.github/actions/make-build
- name: WordPress Plugin Deploy
Expand Down

0 comments on commit b7afe50

Please sign in to comment.