Skip to content

Merge pull request #17 from DISIC:dev #35

Merge pull request #17 from DISIC:dev

Merge pull request #17 from DISIC:dev #35

Workflow file for this run

name: Release
on:
push:
branches:
- "preprod"
- "main"
jobs:
release:
permissions:
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm ci --force
- run: npm run build:$(git branch --show-current)
- run: tar -czvf wce-portail.tar.gz -C dist .
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}