From c04bab99d6c50dfe25cb8667c22b608368c8d5a9 Mon Sep 17 00:00:00 2001 From: m1ga Date: Tue, 1 Oct 2024 19:41:34 +0200 Subject: [PATCH] workflow --- .github/workflows/build.yml | 15 +++++++-------- .github/workflows/publish.yml | 6 +++--- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c8fa986b..c5d792807 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,12 +11,12 @@ jobs: Lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '18.x' - name: Install dependencies run: npm ci - name: Lint @@ -28,23 +28,22 @@ jobs: strategy: fail-fast: false matrix: - nodeVersion: [ '16.x' ] + nodeVersion: [ '18.x' ] os: [ macos-latest ] tiSDK: [ latest ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.nodeVersion }} - name: Install dependencies run: | npm ci npm i titanium -g - ti sdk install ${{ matrix.tiSDK }} -d + ti sdk install ${{ matrix.tiSDK }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run tests run: npm test - diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1ed15caa2..300428964 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,14 +8,14 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '18' registry-url: 'https://registry.npmjs.org' - name: Install dependencies