Skip to content

Merge pull request #31 from nextcloud-deps/chore/release-ci #5

Merge pull request #31 from nextcloud-deps/chore/release-ci

Merge pull request #31 from nextcloud-deps/chore/release-ci #5

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
# semantic-release required permissions https://github.com/semantic-release/github#github-authentication
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test with Coverage
run: yarn test
- name: Build
run: yarn build
- name: Release
env:
GH_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release