Skip to content

Commit

Permalink
ci: bump action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Mar 6, 2024
1 parent 62e98b0 commit a94600a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 17 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,23 @@ jobs:
name: Continuous integration
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 'current'
- name: Install dependencies
-
name: Install dependencies
run: yarn install
- name: Check build
-
name: Check build
run: yarn build
- name: Check coding standards
-
name: Check coding standards
run: yarn lint
- name: Run tests
-
name: Run tests
run: yarn test
25 changes: 16 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,29 @@ jobs:
name: Create and publish a release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 'current'
registry-url: https://registry.npmjs.org
- name: Install dependencies
-
name: Install dependencies
run: yarn install
- name: Check build
-
name: Check build
run: yarn build
- name: Check coding standards
-
name: Check coding standards
run: yarn lint
- name: Run tests
-
name: Run tests
run: yarn test
- name: Publish to npm
-
name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a94600a

Please sign in to comment.