~nicolaskempf57/select-a11y

select-a11y/.build.yml -rw-r--r-- 748 bytes
cbb05d3dNicolas KEMPF 3.1.0 a month ago
                                                                                
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
image: alpine/edge
packages:
- nodejs
- npm
secrets:
- 7e6c4383-99ec-4063-bb75-04e5afad30d0

sources:
- git@git.sr.ht:~nicolaskempf57/select-a11y

tasks:
- build: |
    cd ~/select-a11y
    node --version
    npm --version
    npm ci
    npm run build
- publish: |
    cd ~/select-a11y
    set +x
    echo //registry.npmjs.org/:_auth=$(< ~/NPM_TOKEN) >> .npmrc
    echo //registry.npmjs.org/:_authToken=$(< ~/NPM_TOKEN) >> .npmrc
    echo email=nicolas@conciergerie.dev >> .npmrc
    echo always-auth=true >> .npmrc
    echo scope=conciergerie-dev >> .npmrc
    set -x
    npm version --no-git-tag-version --allow-same-version $(npm view @conciergerie-dev/select-a11y@latest version)
    npm version --no-git-tag-version prerelease
    npm publish