Skip to content

Commit

Permalink
fix missing gh-token binder
Browse files Browse the repository at this point in the history
  • Loading branch information
soomtong committed Jul 11, 2023
1 parent 2db67ac commit 76345af
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: ci-test
on:
pull_request:
branches:
- '*/*'
- develop
- main

jobs:
Expand All @@ -15,18 +13,18 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: '**/package-lock.json'
- name: Install Dependencies
if: steps.node-cache.outputs.cache-hit != 'true'
cache: 'npm'
- name: Prepare dot npmrc for Private Registry
run: echo //npm.pkg.github.com/:_authToken=${{ secrets.GH_TOKEN }} >> ~/.npmrc
- name: Install npm packages
run: npm ci
- name: Lint Test
run: npm run lint
Expand Down

0 comments on commit 76345af

Please sign in to comment.