Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): GitHub Token test #49

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 28 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,36 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
nodejs: [18, 19, 20, 21, 22]
permissions: write-all
# strategy:
# matrix:
# nodejs: [18, 19, 20, 21, 22]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodejs }}
cache: yarn
- run: yarn install --immutable
- run: yarn compile
- run: yarn lint
- run: yarn test
- run: yarn docs
- uses: tj-actions/verify-changed-files@v20
with:
files: docs/**
fail-if-changed: true
fail-message: >-
Uncommited API Reference docs found! Run `yarn docs` locally and
commit the changes.
persist-credentials: true
# - uses: actions/setup-node@v4
# with:
# # node-version: ${{ matrix.nodejs }}
# node-version-file: .nvmrc
# cache: yarn
# - run: yarn install --immutable
- run: git ls-remote --heads 'git+ssh://[email protected]/JoseLion/lynxts.git'
id: head-result
# working-directory: ./packages/core
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: echo "${{ steps.head-result.outputs }}"
# - run: yarn compile
# - run: yarn lint
# - run: yarn test
# - run: yarn docs
# - uses: tj-actions/verify-changed-files@v20
# with:
# files: docs/**
# fail-if-changed: true
# fail-message: >-
# Uncommited API Reference docs found! Run `yarn docs` locally and
# commit the changes.

Loading