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:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
env:
artifact-name: tumble-yellow-dark.vsix
strategy:
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/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: >
npm i -g yarn vsce
yarn install
yarn build --if-present
yarn vsce package --yarn -o ${{ env.artifact-name }}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.0.0
with:
# Artifact name
name: extention
# A file, directory or wildcard pattern that describes what to upload
path: ${{ env.artifact-name }}
- name: GitHub Releases
uses: fnkr/github-action-ghr@v1.3
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run:
- npm i -g yarn vsce
- yarn install
- yarn build --if-present
- yarn vsce package --yarn -o ${{ env.artifact-name }}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.0.0
with:
# Artifact name
name: extention
# A file, directory or wildcard pattern that describes what to upload
path: ${{ env.artifact-name }}
- name: GitHub Releases
uses: fnkr/github-action-ghr@v1.3

2
.nvmrc
View file

@ -1 +1 @@
7.24.0
v17.7.1