Skip to content

Merge pull request #548 from storyblok/dependabot/npm_and_yarn/nuxt/e… #697

Merge pull request #548 from storyblok/dependabot/npm_and_yarn/nuxt/e…

Merge pull request #548 from storyblok/dependabot/npm_and_yarn/nuxt/e… #697

Workflow file for this run

name: Release CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- name: Install dependencies
run: npm ci && cd playground && npm ci && cd ..
- name: Build lib
run: npm run build
- name: Cypress run
run: npm run test:e2e
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release