Skip to content

Commit

Permalink
ci(ci): migrate to github actions
Browse files Browse the repository at this point in the history
Migrated to github actions and removed vulnerable dev dependencies
  • Loading branch information
subeshb1 committed Mar 27, 2024
1 parent 006a9f3 commit aeec233
Show file tree
Hide file tree
Showing 6 changed files with 22,120 additions and 13,299 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Publish"

on:
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
deploy:
runs-on: ubuntu-latest
name: "${{ github.ref_name }} "
env:
NODE_AUTH_TOKEN: ${{ secrets.ACCESS_TOKEN_GITHUB }}
steps:
- uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'

- run: npm ci

- run: npm run test

- name: Publish
run: npm run semantic-release

- name: Deploy docs
run: npm run deploy-docs
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit aeec233

Please sign in to comment.