Skip to content

Commit c582028

Browse files
committed
chore: Update npm dependencies and GitHub Actions workflow for publishing to npm and creating GitHub releases
1 parent 197179a commit c582028

2 files changed

Lines changed: 1 addition & 30 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -26,37 +26,8 @@ jobs:
2626
with:
2727
token: ${{ secrets.NPM_TOKEN }}
2828

29-
github_publish:
30-
runs-on: ubuntu-latest
31-
32-
steps:
33-
- name: Checkout code
34-
uses: actions/checkout@v4
35-
36-
- name: Setup Node.js
37-
uses: actions/setup-node@v3
38-
with:
39-
node-version: 20
40-
41-
- name: Configure .npmrc for GitHub Packages
42-
run: |
43-
echo "//npm.pkg.github.com/:_authToken=\${{ secrets.PA_TOKEN }}" > ~/.npmrc
44-
echo "@${{ secrets.GITHUB_USERNAME }}:registry=https://npm.pkg.github.com" >> ~/.npmrc
45-
46-
- name: Install dependencies
47-
run: npm ci
48-
49-
- name: Build project
50-
run: npm run build
51-
52-
- name: Publish to GitHub Packages
53-
run: npm publish
54-
env:
55-
NODE_AUTH_TOKEN: ${{ secrets.PA_TOKEN }}
56-
5729
create_release:
5830
runs-on: ubuntu-latest
59-
needs: [npm_publish, github_publish]
6031

6132
steps:
6233
- name: Checkout code

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "modulatecss",
3-
"version": "1.0.33",
3+
"version": "1.0.34",
44
"description": "...",
55
"main": "dist/css/modulate.min.css",
66
"style": "dist/css/modulate.min.css",

0 commit comments

Comments
 (0)