mirror of
https://github.com/actions/setup-node
synced 2025-04-08 09:55:51 +00:00
Merge 6c421f5186
into c2ac33f2c6
This commit is contained in:
commit
2134f64745
2 changed files with 43 additions and 0 deletions
28
.github/workflows/npm-grunt.yml
vendored
Normal file
28
.github/workflows/npm-grunt.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: NodeJS with Grunt
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [14.x, 16.x, 18.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
grunt
|
15
.vscode/launch.json
vendored
15
.vscode/launch.json
vendored
|
@ -4,6 +4,21 @@
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "C#: <project-name> Debug",
|
||||||
|
"type": "dotnet",
|
||||||
|
"request": "launch",
|
||||||
|
"projectPath": "${workspaceFolder}/<relative-path-to-project-folder><project-name>.csproj"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "C#: <swift> Debug",
|
||||||
|
"type": "dotnet",
|
||||||
|
"request": "launch",
|
||||||
|
"projectPath": "${workspaceFolder}/<relative-path-to-project-folder><project-name>.csproj"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Debug Jest Tests on Nix",
|
"name": "Debug Jest Tests on Nix",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
|
|
Loading…
Add table
Reference in a new issue