Skip to content

Commit 80d7ae2

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

File tree

1 file changed

+27
-15
lines changed

1 file changed

+27
-15
lines changed

.github/workflows/ci.yml

+27-15
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,38 @@ concurrency:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16-
strategy:
17-
matrix:
18-
nodejs: [18, 19, 20, 21, 22]
16+
permissions:
17+
contents: write
18+
issues: write
19+
pull-requests: write
20+
id-token: write
21+
# strategy:
22+
# matrix:
23+
# nodejs: [18, 19, 20, 21, 22]
1924

2025
steps:
2126
- uses: actions/checkout@v4
2227
- uses: actions/setup-node@v4
2328
with:
24-
node-version: ${{ matrix.nodejs }}
29+
# node-version: ${{ matrix.nodejs }}
30+
node-version-file: .nvmrc
2531
cache: yarn
2632
- 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.
33+
- run: git ls-remote --heads 'git@github.com:JoseLion/lynxts.git'
34+
id: head-result
35+
working-directory: ./packages/core
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
- run: echo "${{ steps.head-result.outputs }}"
39+
# - run: yarn compile
40+
# - run: yarn lint
41+
# - run: yarn test
42+
# - run: yarn docs
43+
# - uses: tj-actions/verify-changed-files@v20
44+
# with:
45+
# files: docs/**
46+
# fail-if-changed: true
47+
# fail-message: >-
48+
# Uncommited API Reference docs found! Run `yarn docs` locally and
49+
# commit the changes.
3850

0 commit comments

Comments
 (0)