From 34ddab74b148836a1f516bdf027564113431cc33 Mon Sep 17 00:00:00 2001 From: Matt Hillsdon Date: Wed, 27 Nov 2024 13:33:15 +0000 Subject: [PATCH] Setup node for publishing; remove specific version The versioner will set it from the tag. --- .github/workflows/build.yml | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc8e6b6..654e116 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,11 @@ jobs: packages: write steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: "20.x" + registry-url: 'https://registry.npmjs.org' + cache: npm - uses: microbit-foundation/npm-package-versioner-action@v1 - run: npm publish if: github.event_name == 'release' && github.event.action == 'created' diff --git a/package.json b/package.json index 82ea06e..bb331a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@microbit/smoothie", - "version": "1.37.0-microbit.1", + "version": "0.0.0", "description": "Smoothie Charts: smooooooth JavaScript charts for realtime streaming data", "main": "./smoothie.js", "types": "./smoothie.d.ts",