Skip to content

Commit 8c5dacc

Browse files
committed
chore(release): GitHub Token test
1 parent 516533f commit 8c5dacc

File tree

1 file changed

+28
-18
lines changed

1 file changed

+28
-18
lines changed

.github/workflows/ci.yml

+28-18
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,36 @@ concurrency:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16-
strategy:
17-
matrix:
18-
nodejs: [18, 19, 20, 21, 22]
16+
permissions: write-all
17+
# strategy:
18+
# matrix:
19+
# nodejs: [18, 19, 20, 21, 22]
1920

2021
steps:
2122
- uses: actions/checkout@v4
22-
- uses: actions/setup-node@v4
2323
with:
24-
node-version: ${{ matrix.nodejs }}
25-
cache: yarn
26-
- run: yarn install --immutable
27-
- run: yarn compile
28-
- run: yarn lint
29-
- run: yarn test
30-
- run: yarn docs
31-
- uses: tj-actions/verify-changed-files@v20
32-
with:
33-
files: docs/**
34-
fail-if-changed: true
35-
fail-message: >-
36-
Uncommited API Reference docs found! Run `yarn docs` locally and
37-
commit the changes.
24+
persist-credentials: true
25+
# - uses: actions/setup-node@v4
26+
# with:
27+
# # node-version: ${{ matrix.nodejs }}
28+
# node-version-file: .nvmrc
29+
# cache: yarn
30+
# - run: yarn install --immutable
31+
- run: git ls-remote --heads 'ssh://git@github.com/JoseLion/lynxts.git'
32+
id: head-result
33+
# working-directory: ./packages/core
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
- run: echo "${{ steps.head-result.outputs }}"
37+
# - run: yarn compile
38+
# - run: yarn lint
39+
# - run: yarn test
40+
# - run: yarn docs
41+
# - uses: tj-actions/verify-changed-files@v20
42+
# with:
43+
# files: docs/**
44+
# fail-if-changed: true
45+
# fail-message: >-
46+
# Uncommited API Reference docs found! Run `yarn docs` locally and
47+
# commit the changes.
3848

0 commit comments

Comments
 (0)