Skip to content

chore(deps): update dependency semantic-release to v24 #348

chore(deps): update dependency semantic-release to v24

chore(deps): update dependency semantic-release to v24 #348

Workflow file for this run

name: ci
on: push
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Run tests 🧪
# https://github.com/cypress-io/github-action
uses: cypress-io/github-action@v5
with:
build: npm test
start: npm start
- name: Restore the data
run: git checkout ./cypress/fixtures/data.json
- name: Run JSON server tests 🧪
uses: cypress-io/github-action@v5
with:
# we have already installed all dependencies above
install: false
start: node ./cypress/fixtures/example-server.js
config: 'baseUrl=http://localhost:4000'
- name: Semantic Release 🚀
if: github.ref == 'refs/heads/master'
uses: cycjimmy/semantic-release-action@v3
with:
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}