-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) 路 870 Bytes
/
Copy pathrelease.yaml
File metadata and controls
37 lines (37 loc) 路 870 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
name: Release
permissions:
contents: write # necesario para push de commits y tags
pull-requests: write
issues: write
id-token: write
on:
push:
branches:
- main
- next
- beta
jobs:
release:
name: release
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "lts/*"
registry-url: https://registry.npmjs.org/
always-auth: true
- run: npm ci
- run: npm run format:check
- run: npm run lint
- run: npm run test:unit
- run: npm run test:pack
- run: npm run build
env:
NODE_ENV: "production"
- run: npm audit signatures
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}