versioning and a list of commands

This commit is contained in:
tumble 2022-05-12 13:41:52 +01:00
parent 8c8b044cee
commit edb766d06c
No known key found for this signature in database
GPG Key ID: 651CA998E1105BFA
2 changed files with 24 additions and 26 deletions

View File

@ -5,41 +5,39 @@ name: Node.js CI
on: on:
push: push:
branches: [ master ] branches: [master]
pull_request: pull_request:
branches: [ master ] branches: [master]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
artifact-name: tumble-yellow-dark.vsix artifact-name: tumble-yellow-dark.vsix
strategy: strategy:
matrix: matrix:
node-version: [12.x, 14.x, 16.x] node-version: [17.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: "npm"
- run: > - run:
npm i -g yarn vsce - npm i -g yarn vsce
yarn install - yarn install
yarn build --if-present - yarn build --if-present
yarn vsce package --yarn -o ${{ env.artifact-name }} - yarn vsce package --yarn -o ${{ env.artifact-name }}
- name: Upload a Build Artifact - name: Upload a Build Artifact
uses: actions/upload-artifact@v3.0.0 uses: actions/upload-artifact@v3.0.0
with: with:
# Artifact name # Artifact name
name: extention name: extention
# A file, directory or wildcard pattern that describes what to upload # A file, directory or wildcard pattern that describes what to upload
path: ${{ env.artifact-name }} path: ${{ env.artifact-name }}
- name: GitHub Releases - name: GitHub Releases
uses: fnkr/github-action-ghr@v1.3 uses: fnkr/github-action-ghr@v1.3

2
.nvmrc
View File

@ -1 +1 @@
7.24.0 v17.7.1