Skip to content

Merge pull request #34 from nextcloud-deps/merge-upstream #8

Merge pull request #34 from nextcloud-deps/merge-upstream

Merge pull request #34 from nextcloud-deps/merge-upstream #8

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