-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 862 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Release
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 5"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Build
run: npm run --if-present build
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm config set access public
npm install --no-save "@forsakringskassan/semantic-release-config"
npm exec semantic-release