Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 26f62830d9 | |||
| 88958232f2 | |||
| 5ddd93afcc | |||
| abe20e7d8c | |||
| 10517cadcd | |||
| d925019c58 |
14
.github/workflows/dependency-review.yaml
vendored
14
.github/workflows/dependency-review.yaml
vendored
@@ -4,6 +4,17 @@ name: Dependency Review
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
base_ref:
|
||||
description: 'The base ref for the dependency review'
|
||||
required: false
|
||||
type: string
|
||||
default: 'next'
|
||||
head_ref:
|
||||
description: 'The head ref for the dependency review'
|
||||
required: false
|
||||
type: string
|
||||
default: 'next'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -19,3 +30,6 @@ jobs:
|
||||
|
||||
- name: 🚀 Dependency Review
|
||||
uses: actions/dependency-review-action@v4
|
||||
with:
|
||||
base-ref: ${{ inputs.base_ref }}
|
||||
head-ref: ${{ inputs.head_ref }}
|
||||
|
||||
19
.github/workflows/publish-npm.yaml
vendored
19
.github/workflows/publish-npm.yaml
vendored
@@ -10,14 +10,16 @@ on:
|
||||
required: true
|
||||
default: 'lts/*'
|
||||
type: string
|
||||
npm-registry-url:
|
||||
description: 'NPM registry url'
|
||||
required: false
|
||||
default: 'https://registry.npmjs.org'
|
||||
type: string
|
||||
secrets:
|
||||
NPM_TOKEN:
|
||||
required: true
|
||||
description: 'NPM token'
|
||||
|
||||
env:
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
@@ -36,7 +38,8 @@ jobs:
|
||||
- name: 🔧 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ inputs.NODE_VERSION }}
|
||||
node-version: ${{ inputs.node-version }}
|
||||
registry-url: ${{ inputs.npm-registry-url }}
|
||||
|
||||
- name: 🛠️ Setup Node.js Corepack
|
||||
run: corepack enable
|
||||
@@ -60,15 +63,11 @@ jobs:
|
||||
run: yarn build
|
||||
env:
|
||||
WIREIT_LOGGER: metrics
|
||||
|
||||
- name: 🧹 Run ESLint
|
||||
run: yarn lint
|
||||
env:
|
||||
WIREIT_LOGGER: metrics
|
||||
NODE_ENV: production
|
||||
|
||||
- name: 🚀 Publish
|
||||
run: yarn run publish -- --yes
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NPM_CONFIG_PROVENANCE: true
|
||||
WIREIT_LOGGER: metrics
|
||||
|
||||
28
.github/workflows/sync-labels.yaml
vendored
28
.github/workflows/sync-labels.yaml
vendored
@@ -1,28 +0,0 @@
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||
|
||||
name: Sync labels
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
GITHUB_TOKEN:
|
||||
description: 'GitHub token'
|
||||
required: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
main:
|
||||
name: Sync labels
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: ⤵️ Check out code from GitHub
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🚀 Run Label Syncer
|
||||
uses: micnncim/action-label-syncer@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@@ -22,7 +22,10 @@
|
||||
},
|
||||
"typescript.enablePromptUseWorkspaceTsdk": true,
|
||||
"typescript.tsdk": ".yarn/sdks/typescript/lib",
|
||||
"cSpell.words": ["nexim"],
|
||||
"cSpell.words": [
|
||||
"nexim",
|
||||
"wireit"
|
||||
],
|
||||
"todo-tree.tree.scanMode": "workspace only",
|
||||
"github.copilot.chat.codeGeneration.instructions": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user