Skip to content

update deps #239

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions .github/workflows/publish_npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: '@nativescript/template-* -> npm'

on:
push:
branches: [ 'main' ]
branches: ['main']

env:
NPM_TAG: 'next'
Expand All @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Setup
run: npm install
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push

jobs:
test:
runs-on: macos-12
runs-on: macos-15

name: ${{ matrix.template }} (node ${{ matrix.node }})

Expand Down Expand Up @@ -33,39 +33,39 @@ jobs:
- template-blank-vue
- template-hello-world
- template-master-detail-vue
node: [16]
node: [20]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: 'templates'

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3'

- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
cache-dependency-path: templates/package-lock.json

- name: Cache Gradle
uses: actions/cache@v2
uses: actions/cache@v4
with:
key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/package-lock.json') }}-v1
path: |
~/.gradle/caches
~/.gradle/wrapper

- name: Cache Python
uses: actions/cache@v2
uses: actions/cache@v4
with:
key: ${{ runner.os }}-python-cache-${{ env.pythonLocation }}-${{ hashFiles('**/package-lock.json') }}
path: ${{ env.pythonLocation }}
Expand Down
Loading