Skip to content
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
12 changes: 7 additions & 5 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,25 @@ on:
description: "Whether to continue the workflow if the npm package publish fails or not. Useful when the npm package already exists."
required: false
default: "false"
permissions:
id-token: write # required for npm trusted publishing (OIDC)
contents: read

jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
registry-url: "https://registry.npmjs.org"

- name: Install .NET SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x" # latest LTS build

Expand All @@ -36,7 +39,6 @@ jobs:
continue-on-error: ${{ inputs.ignoreNpmErrors == 'true' }}
env:
FIGMA_ACCESS_TOKEN: ${{ secrets.FIGMA_ACCESS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_API_KEY }}
run: |
if [[ ${{ github.ref }} == *"rc"* ]]; then
npm publish --tag rc
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@stackoverflow/stacks-icons",
"description": "The icon library for Stack Overflow, Stack Overflow Careers, and the Stack Exchange Network.",
"version": "6.9.0",
"repository": "https://github.com/StackExchange/Stacks-Icons",
"repository": {
"type": "git",
"url": "git+https://github.com/StackExchange/Stacks-Icons.git"
},
"license": "MIT",
"type": "module",
"main": "dist/index.umd.cjs",
Expand Down
Loading