-
-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (31 loc) · 875 Bytes
/
Copy pathrelease.yml
File metadata and controls
38 lines (31 loc) · 875 Bytes
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
30
31
32
33
34
35
36
37
38
name: release
on:
push:
branches:
- main
- beta
tags-ignore:
- "**"
permissions:
id-token: write # Required for OIDC
contents: write
pull-requests: write
issues: write
jobs:
release:
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: asdf-vm/actions/install@v4
- run: deno task build
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false # never use caching in release builds
- uses: cycjimmy/semantic-release-action@v6
with:
working_directory: npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}