Skip to content

bump node version

bump node version #267

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: |
npm install
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
echo '# Commits Made' > RELEASE-NOTES.txt
git log --oneline --since "`date -d '-1 day'`" >> RELEASE-NOTES.txt
- run: |
echo OK > test.txt
date > test-release.txt
uptime > info.txt
md5sum *.txt > MD5SUMS
- run: ls -lah
- uses: ./
with:
tag_name: nightly
name: 'Nightly Release of Nightly Release $$'
draft: false
prerelease: true
body_path: RELEASE-NOTES.txt
files: |
MD5SUMS
test.txt
test-release.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}