Skip to content

Bump @types/node from 22.7.8 to 22.7.9 #406

Bump @types/node from 22.7.8 to 22.7.9

Bump @types/node from 22.7.8 to 22.7.9 #406

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
npm ci
- name: Build
run: |
npm run build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: raid-chat-alert.js # TODO: Read from package.json
path: dist/raid-chat-alert.js
create-release:
needs: build
runs-on: ubuntu-latest
if: (github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'))
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # allows for tags access
- uses: actions/download-artifact@v4
name: Download compiled JS file
with:
name: raid-chat-alert.js # TODO: Read from package.json
path: release-artifacts/
- name: Create release
uses: ncipollo/[email protected]
with:
replacesArtifacts: true
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: "release-artifacts/*"
body: ${{ github.event.head_commit.message }}
prerelease: true
name: Nightly Release
tag: nightly-build
- name: Update nightly-build tag
run: |
git tag -f nightly-build
git push -f origin nightly-build
shell: bash