Skip to content

Commit

Permalink
ci: configure semantic-release to Tuesday schedule, update Node config
Browse files Browse the repository at this point in the history
  • Loading branch information
keplersj committed Feb 28, 2022
1 parent 1ccd8da commit 21848b4
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 66 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Node CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install npm dependencies
run: npm ci
- name: Run tests
run: npm test -- --ci
- name: Upload coverage to Codecov
uses: codecov/[email protected]
21 changes: 0 additions & 21 deletions .github/workflows/nodejs.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release (Weekly on Tuesdays)

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 2"

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install npm dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Run tests
env:
FORCE_COLOR: 1
run: npm test -- --ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
45 changes: 0 additions & 45 deletions .github/workflows/semantic-release.yml

This file was deleted.

0 comments on commit 21848b4

Please sign in to comment.