Remove npm import from workflow

This commit is contained in:
Tom MacWright 2024-05-18 16:43:40 -04:00
parent 4c65ca36f2
commit 42a9c42b8f
No known key found for this signature in database
GPG key ID: CEBC26A37F3D1D9F

View file

@ -2,7 +2,7 @@ name: Release Obsidian Plugin
on:
push:
tags:
- '*'
- "*"
jobs:
build:
runs-on: ubuntu-latest
@ -13,17 +13,11 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: "18.x"
- name: Get Version
id: version
run: |
echo "::set-output name=tag::$(git describe --abbrev=0)"
# Build the plugin
- name: Build
id: build
run: |
npm install
npm run build --if-present
# Package the required files into a zip
- name: Package
run: |