Skip to content

Commit

Permalink
add test using json-server and node v18 (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov authored Feb 22, 2023
1 parent c5d7066 commit f418050
Show file tree
Hide file tree
Showing 4 changed files with 15,887 additions and 19,402 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,27 @@ jobs:
- name: Run demo expect 403 code 📊
run: npm run demo-expect-403

tests-node-v18:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- name: Node version 🖨️
run: node -v

- name: NPM install
uses: bahmutov/npm-install@v1

- name: Run json-server test
run: npm run demo-json-server

release:
needs: ['tests1', 'tests2']
needs: ['tests1', 'tests2', 'tests-node-v18']
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
Expand Down
Loading

0 comments on commit f418050

Please sign in to comment.