Skip to content

Bump @types/node from 20.8.7 to 20.8.8 #252

Bump @types/node from 20.8.7 to 20.8.8

Bump @types/node from 20.8.7 to 20.8.8 #252

Workflow file for this run

---
name: CI/CD
on:
pull_request: {}
push:
branches:
- main
tags:
- v*
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up node20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Run npm
run: npm install && npm run all
- name: Create tag for test release
run: |
git tag -f ghatest
git push -f origin ghatest
- name: Create test release without assets
uses: cb80/pubrel@latest
with:
ref: 'refs/tags/ghatest'
replace: ghatest
- name: Create test release with assets
uses: cb80/pubrel@latest
with:
ref: 'refs/tags/ghatest'
replace: ghatest
files: |
README.md
.git/index
- name: Download assets
uses: cb80/dlassets@latest
with:
tag: ghatest
to: dl
- name: Compare assets
run: |
ls -al dl/
cmp README.md dl/README.md
cmp .git/index dl/index
- name: Remove test release
uses: ./
with:
tag: ghatest
- name: Remove tag for test release
run: git push origin :ghatest
- name: Update latest tag when pushing to main
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
git tag -f latest
git push -f origin latest
- name: Publish myself
if: ${{ github.event_name == 'push' }}
uses: cb80/pubrel@latest
with:
replace: latest