Skip to content

ci(shrinkwrap): added generator #1

ci(shrinkwrap): added generator

ci(shrinkwrap): added generator #1

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# Copyright 2020 - 2024 Pionix GmbH and Contributors to EVerest
name: Generate and Publish npm-shrinkwrap
description: The purpose of this job is to generate an npm-shrinkwrap.json which is needed for the yocto layer

Check failure on line 6 in .github/workflows/shrinkwrap.yml

View workflow run for this annotation

GitHub Actions / Generate and Publish npm-shrinkwrap

Invalid workflow file

The workflow is not valid. .github/workflows/shrinkwrap.yml (Line: 6, Col: 1): Unexpected value 'description'
on:
push:
branches:
- npm-shrinkwrap
jobs:
create-shrinkwrap:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Generate npm-shrinkwrap.json
run: |
npm install
npm shrinkwrap
- name: Publish npm-shrinkwrap.json as Artifact
uses: actions/upload-artifact@v3
with:
name: npm-shrinkwrap
path: npm-shrinkwrap.json