Skip to content

Commit

Permalink
ci: upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain committed Jun 26, 2021
1 parent 3454903 commit eaa3066
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v2
with:
node-version: "15"
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v2
with:
node-version: "15"
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
php-version: "7.4"
tools: composer
- name: Setup Node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v2
with:
node-version: "15"
- name: Setup Couscous
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Node (npm registry)
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v2
with:
node-version: "15"
registry-url: https://registry.npmjs.org
Expand All @@ -24,25 +24,23 @@ jobs:
- name: Run tests
run: npm test
- name: Generate changelog
uses: scottbrenner/generate-changelog-action@1.0.2
uses: scottbrenner/generate-changelog-action@v1.3.3
id: changelog
env:
REPO: ${{ github.repository }}
- name: Create a GitHub release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
name: Release ${{ github.ref }}
body: |
${{ steps.changelog.outputs.changelog }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Setup Node (GitHub registry)
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v2
with:
node-version: "15"
registry-url: https://npm.pkg.github.com
Expand Down

0 comments on commit eaa3066

Please sign in to comment.