Skip to content

Add publish ci#3

Merged
Changqing-JING merged 2 commits into
wasm-ecosystem:mainfrom
xpirad:main
May 19, 2025
Merged

Add publish ci#3
Changqing-JING merged 2 commits into
wasm-ecosystem:mainfrom
xpirad:main

Conversation

@xpirad
Copy link
Copy Markdown
Contributor

@xpirad xpirad commented May 15, 2025

This pull request introduces a new GitHub Actions workflow for publishing the package, updates the package's metadata for scoped publishing, and adds a new npm script for running all checks in parallel (the script also applies prettier fix automatically). Below is a summary of notable changes:

Workflow Automation

  • Added a new GitHub Actions workflow in .github/workflows/publish.yml to automate the publishing process. The workflow triggers on any push to a tag, and does the following things: installs dependencies, builds the project, and publishes it to npm using authentication token.

Package Metadata Updates

  • Updated the name field in package.json to use a scoped package name (@schleifner/assemblyscript-eslint-plugin).
  • Added a publishConfig field in package.json to specify the npm registry URL for publishing.

Script Enhancements

  • Added a new npm script run-all in package.json to run linting, testing, spell-checking, and formatting in parallel. This all-in-one script helps facilitate the testing process.
  • Added the npm-run-all package as a development dependency to support the new run-all script.

Comment thread package.json
Comment thread package.json
@Changqing-JING Changqing-JING merged commit 32cc730 into wasm-ecosystem:main May 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants