Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Jan 17, 2025
1 parent f536230 commit 60d387b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
unit_test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: read
Expand All @@ -18,10 +18,10 @@ jobs:
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"
node-version: '16.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: "@agoraio-extensions"
scope: '@agoraio-extensions'

- name: Run unit test
env:
Expand All @@ -38,14 +38,14 @@ jobs:
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"
node-version: '16.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: "@agoraio-extensions"
scope: '@agoraio-extensions'
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "15.0.6"
version: '15.0.6'
- name: Run unit test
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -63,10 +63,10 @@ jobs:
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"
node-version: '16.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: "@agoraio-extensions"
scope: '@agoraio-extensions'
- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v3
Expand All @@ -77,11 +77,11 @@ jobs:
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "15.0.7"
version: '15.0.7'
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
- name: Run unit test
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run test:integration
npm run test:integration

0 comments on commit 60d387b

Please sign in to comment.