Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Github Actions #983

Merged
merged 2 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:

jobs:
deploy:
name: Deploy esm.sh to production
name: Deploy server to production
runs-on: ubuntu-latest
environment: production
environment: esm.sh

steps:
- name: Checkout
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

publish_esmsh_to_npm:
name: Publish "esm.sh" to NPM
name: Publish package "esm.sh" to NPM
runs-on: ubuntu-latest
environment: release
needs: [build_esmsh_cli]
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
- name: Extract Release Note
run: echo "console.log(require('fs').readFileSync('CHANGELOG.md','utf8').split('## ')[1].slice('${{ github.ref_name }}'.length).trim())" | node > release-note.txt

- name: Create Release
- name: Release
uses: softprops/action-gh-release@v2
with:
body_path: release-note.txt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy
name: Stage

on:
push:
Expand Down
Loading