4 Commits

3 changed files with 7 additions and 39 deletions

View File

@@ -15,9 +15,6 @@ on:
required: true required: true
description: 'NPM token' description: 'NPM token'
env:
NODE_VERSION: lts/*
permissions: permissions:
contents: read contents: read
id-token: write id-token: write
@@ -36,7 +33,7 @@ jobs:
- name: 🔧 Setup Node.js - name: 🔧 Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: ${{ inputs.NODE_VERSION }} node-version: ${{ inputs.node-version }}
- name: 🛠️ Setup Node.js Corepack - name: 🛠️ Setup Node.js Corepack
run: corepack enable run: corepack enable
@@ -60,15 +57,11 @@ jobs:
run: yarn build run: yarn build
env: env:
WIREIT_LOGGER: metrics WIREIT_LOGGER: metrics
NODE_ENV: production
- name: 🧹 Run ESLint
run: yarn lint
env:
WIREIT_LOGGER: metrics
- name: 🚀 Publish - name: 🚀 Publish
run: yarn run publish -- --yes run: yarn run publish -- --yes
env: env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true NPM_CONFIG_PROVENANCE: true
WIREIT_LOGGER: metrics WIREIT_LOGGER: metrics

View File

@@ -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 }}

View File

@@ -22,7 +22,10 @@
}, },
"typescript.enablePromptUseWorkspaceTsdk": true, "typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": ".yarn/sdks/typescript/lib", "typescript.tsdk": ".yarn/sdks/typescript/lib",
"cSpell.words": ["nexim"], "cSpell.words": [
"nexim",
"wireit"
],
"todo-tree.tree.scanMode": "workspace only", "todo-tree.tree.scanMode": "workspace only",
"github.copilot.chat.codeGeneration.instructions": [ "github.copilot.chat.codeGeneration.instructions": [
{ {