Skip to content

Merge pull request #152 from igobranco/igobranco/fix-cors #40

Merge pull request #152 from igobranco/igobranco/fix-cors

Merge pull request #152 from igobranco/igobranco/fix-cors #40

Workflow file for this run

name: Release
on:
push:
branches: [master]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 14
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build project
run: yarn build
- name: Run e2e tests
uses: cypress-io/github-action@v3
- name: Compress Github release files
run: |
zip -r h5p-standalone-release.zip dist/ README.md
- name: Release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git