Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

ci.yml

29 lines902 Bytes

1name: ci
2concurrency:
3 group: publish-${{ github.github.base_ref }}
4 cancel-in-progress: true
5on: [push]
6jobs:
7 test-and-publish:
8 name: "Test & Publish"
9 runs-on: ubuntu-latest
10 steps:
11 - uses: actions/checkout@v2
12 with:
13 fetch-depth: "0"
14 - uses: actions/setup-node@v2
15 with:
16 node-version: 16
17 registry-url: https://registry.npmjs.org/
18 cache: "yarn"
19 - run: |
20 yarn install --frozen-lockfile
21 git config --global user.name 'Tanner Linsley'
22 git config --global user.email 'tannerlinsley@users.noreply.github.com'
23 yarn cipublish
24 env:
25 GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
26 GH_TOKEN: ${{ secrets.GH_TOKEN }}
27 YARN_REGISTRY: https://registry.npmjs.org/
28 NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
29 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}