Skip to content

Bump eslint from 8.51.0 to 8.55.0 #267

Bump eslint from 8.51.0 to 8.55.0

Bump eslint from 8.51.0 to 8.55.0 #267

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