Skip to content

Commit

Permalink
chore(release): GitHub Token test
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion committed Jul 9, 2024
1 parent 516533f commit 63ff2e5
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,34 @@ 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 }}
# node-version: ${{ matrix.nodejs }}
node-version-file: .nvmrc
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.
- run: git ls-remote --heads 'git@github.com: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.

0 comments on commit 63ff2e5

Please sign in to comment.