chore: improve github action script

This commit is contained in:
chenshenhai 2024-08-03 23:10:37 +08:00
parent 34fbbd5828
commit c39ce087ab
3 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'idrawjs/idraw'
strategy:
matrix:
node-version: [22.x]

View file

@ -12,7 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'idrawjs/idraw'
strategy:
matrix:
node-version: [22.x]

View file

@ -5,6 +5,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'idrawjs/idraw'
permissions:
contents: read
id-token: write