Skip to content

Commit

Permalink
update the CI workflow (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Dec 5, 2022
1 parent 776c7b6 commit 7294173
Showing 1 changed file with 43 additions and 18 deletions.
61 changes: 43 additions & 18 deletions .github/workflows/ci.yml
Expand Up @@ -5,33 +5,58 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v1
uses: actions/checkout@v3

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

- name: Run tests 🧪
run: npm test

- name: Run demos 📊
run: |
npm run demo
npm run demo2
npm run demo3
npm run demo4
npm run demo5
npm run demo6
npm run demo7
# hmm why are some demos skipped?
npm run demo11
npm run demo12
START_SERVER_AND_TEST_INSECURE=1 npm run demo9
npm run demo-cross-env
npm run demo-commands
npm run demo-multiple
- name: Run demo 1 📊
run: npm run demo

- name: Run demo 2 📊
run: npm run demo2

- name: Run demo 3 📊
run: npm run demo3

- name: Run demo 4 📊
run: npm run demo4

- name: Run demo 5 📊
run: npm run demo5

- name: Run demo 6 📊
run: npm run demo6

- name: Run demo 7 📊
run: npm run demo7

# hmm why are some demos skipped?

- name: Run demo 11 📊
run: npm run demo11

- name: Run demo 12 📊
run: npm run demo12

- name: Run demo 9 📊
run: START_SERVER_AND_TEST_INSECURE=1 npm run demo9

- name: Run demo cross env 📊
run: npm run demo-cross-env

- name: Run demo commands 📊
run: npm run demo-commands

- name: Run demo multiple 📊
run: npm run demo-multiple

- name: Semantic Release 🚀
uses: cycjimmy/semantic-release-action@v2
if: github.ref == 'refs/heads/master'
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 7294173

Please sign in to comment.