Skip to content

Merge pull request #15 from DISIC/dev #33

Merge pull request #15 from DISIC/dev

Merge pull request #15 from DISIC/dev #33

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 }}