Skip to content

Commit

Permalink
Merge branch 'updates' of github.com:Yuri-Lima/woocommerce-rest-api-t…
Browse files Browse the repository at this point in the history
…s-lib
  • Loading branch information
Yuri-Lima committed Nov 30, 2022
2 parents 12d85dd + 325e329 commit f322589
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,9 @@ on:
branches: [ "main" ]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
os: [ubuntu-latest, windows-latest, macOS-12]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run dep:update # update dependencies and run tests
- run: npm run build --if-present # build the source code
publish:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: [test]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit f322589

Please sign in to comment.