~nicolaskempf57/select-a11y

ref: fcc9354733dc13bf0205c1ed3cd934b78ea0273a select-a11y/.build.yml -rw-r--r-- 703 bytes
fcc93547Nicolas KEMPF 2.2.0 6 months 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 _auth=$(< ~/NPM_TOKEN) >> .npmrc
    echo _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